Skip to content

lesunb/bsn_rome_24

 
 

Repository files navigation

Self-Adaptive Body Sensor Network (SA-BSN)

GitHub GitHub release (latest by date) DOI

The Self-Adaptive Body Sensor Network (SA-BSN) features an exempalr of self-adaptive system [1] designed for experimentation on solutions for adaptation in the domain of Self-Adaptive Software Systems. Body Sensor Networks (BSNs) are networks of wearable and implantable sensors that collect physiological data (e.g., heart beat rate, blood oxigenation) from the human body. These networks are often considered safety-critical, as they enable real-time monitoring of vital signs and other health-related parameters. In addition, they interface a body of knowledge of ever evolving diseases and health conditions with a the vastness of human individuality. No solution to indentification of health conditions is comprehensive enough to tackle the current nor future diseases that may pose a threat to human condition. The self-adaptive body sensor network paves the way to such ambitious goal.

The SA-BSN provides a platform for researchers and developers to explore and evaluate adaptive solutions in the Self-Adaptive Software Systems domain. It has been utilized in various experiments and studies, as referenced in the following publications: [2][3][4].

Prerequisites

Docker

Visual Studio Code

DevContainers extension for vscode.

It is highly recommended to run on Linux!!

Getting Started

  1. Clone this repository to your machine or create your own fork if you want to commit your own changes.
git clone https://github.com/lesunb/bsn_rome_24.git
  1. With docker and Visual Studio Code properly installed, open this repository root in vscode.

  2. You shall see a prompt requesting to open the repo inside of a container, accept it; (Reopen in container).

  1. Once you have accepted it, the window will reload and build the development image and SA-BSN (this should take some minutes).

Build the SA-BSN

To compile the SA-BSN

catkin_make

Execute the SA-BSN

The SA-BSN's execution relies on a single command, but first you need to ensure roscore to be running.

roscore

Then, in another terminal.

mon launch bsn.launch

Finally you need to execute the script that input the real data to SA-BSN

cd RoME_execution
python3 script.py

Common Mistakes

Different OS version vscode

If you deal with a message like this, just click on allow, it shouldn't be a problem

Windows CRLF error

If you are running on windows you might find this error with some files.

That happens because windows has a different line ending file format and it copies it inside linux container.

To solve this you can explicitate the format in vscode.

Go to these two files, postCreate.sh and additional_bashrc.sh:

In the bottom right corner click on CRLF, change it to LF and save the files.

Then rebuild the container.

In case of error due to the ROS path

You might want to source the setup.bash inside the catkin workspace:

source devel/setup.bash

Main Authors

Adviser: Genaína N. Rodrigues

Acknowledgment

This study was financed in part by CAPES-Brasil – Finance Code 001, through CAPES scholarship, by CNpq under grant number 306017/2018-0, by University of Brasilia under Call DPI/DPG 03/2020, by FAPDF Call 03/2018 by the Wallenberg Al, Autonomous Systems and Software Program (WASP) funded by the Knut and Alice Wallenberg Foundation

About

Body Sensor Network (BSN): a prototype for exercising dependable adaptation in healthcare domain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 79.3%
  • C++ 17.4%
  • CMake 1.6%
  • Python 1.4%
  • Other 0.3%