This repository contains documentation and code for EEG packages.
-
Clone repo under sense-basepath and refer to the CONTRIBUTING guideline for detailed instructions on contributing to this repo.
git clone git@github.com:sense-base/sense_eeg.git
- 🔩 Run and debug. Open a terminal into the loaded container in VSCode using the dev containers extension, and run
colcon build --symlink-install
source install/setup.bash
ros2 launch eeg_publisher mock_publisher_launch.py
On a different terminal, run
source install/setup.bash
ros2 topic list
ros2 topic echo /eeg/raw
ros2 bag record /eeg/raw
ros2 bag info <bag_file_name> (e.g., `rosbag2_data_time`)
ros2 bag play <bag_file_name>
rqt_graph
The diagram shows a general setup with the g.tec USBamp, a Linux computer, cables, and electrode connections.
Install Python (3.10 or higher recommended):
pyenv install 3.10.17 pyenv virtualenv 3.10.17 sense_EEG-env
pyenv local sense_EEG-env
pip install -e ".[dev]"pre-commit run --all-files