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].
DevContainers extension for vscode.
It is highly recommended to run on Linux!!
- 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
-
With docker and Visual Studio Code properly installed, open this repository root in vscode.
-
You shall see a prompt requesting to open the repo inside of a container, accept it; (Reopen in container).
- Once you have accepted it, the window will reload and build the development image and SA-BSN (this should take some minutes).
To compile the SA-BSN
catkin_make
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
If you deal with a message like this, just click on allow, it shouldn't be a problem
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.
You might want to source the setup.bash inside the catkin workspace:
source devel/setup.bash
Main Authors
Adviser: Genaína N. Rodrigues
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