Skip to content

HBRS-SDP/WS24-physiological-computing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HRI Physio Lib

Table of Contents:

Introduction

HRI Physio Lib is a library developed by Austin Kothig for researchers in the field of physiological computing. The structure and basic implementation of this library can be found in the image below: HRI Physio Lib

Installing the library:

  • Setting up the library requires a couple of steps of installation so please bear with us. Follow these steps in the given order to successfully set up the library:
    • Cloning the repository: navigate to your workspace where you want to install the library and run the following command (It is recommended that you install this library in your ROS2 workspace):

        git clone -b devel https://github.com/HBRS-SDP/WS24-physiological-computing.git
      
    • Installing dependencies: as you know our repository uses three external libraries which have been added as submodules in the /deps folder, so we need to clone them first:

      cd WS24-physiological-computing/deps/
      
      rm -rf fmt/ && rm -rf labstreaminglayer/ && rm -rf yaml-cpp/
      
      git clone https://github.com/fmtlib/fmt.git
      
      git clone https://github.com/jbeder/yaml-cpp.git
      
      git clone --recurse-submodules https://github.com/sccn/labstreaminglayer.git
      
    • What we have done currently is add the dependencies to our library. One additional step that needs to be done is that we need to build 'labstreaminglayer':

      cd labstreaminglayer/
      
      mkdir build && cd build
      
      cmake ..
      
      make
      
    • You should see a series of percentage statements. If you see no errors then you have successfully installed the dependencies.

    • Then we build HriPhysioLib before our final step. Follow the steps below.

      cd ../../../HriPhysioLib
      
      rm -rf build
      
      mkdir build && cd build
      
      cmake ..
      
      sudo cmake --build . --config Release --target install
      
    • The final step is building our library so navigate back to the home folder i.e. WS24-physiological-computing. Run the following commands:

      cd ../..
      
      mkdir build && cd build
      
      cmake ..
      
      sudo cmake --build . --config Release --target install
      
    • This should result in a successful building of the library. Now you can head over to the /ros2 folder to follow instructions on testing /spectrogram functionality of the library and setting up a ros2 communication node for the library.

Contributors:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 52.9%
  • Jupyter Notebook 27.6%
  • Java 7.0%
  • CMake 4.5%
  • C 4.1%
  • Python 3.9%