-
clone the repo
sudo apt install git
git clone https://github.com/StArchon94/Infant ~/Documents/infant_ws
-
install ROS2
https://index.ros.org/doc/ros2/Installation/Foxy/Linux-Install-Debians/
-
install Colcon
sudo apt install python3-colcon-common-extensions
-
install PyTorch
CPU: pip3 install torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
GPU: pip3 install torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
-
install OpenCV
sudo apt install python3-opencv
-
install SciPy
pip3 install scipy
-
install PyAudio
sudo apt install python3-pyaudio
-
install PySerial
pip3 install pyserial
-
test camera module
plug in the webcam and find the working id for cam_test/test.py#L19
change cam_id in infant_eye.py#L20
-
change n_infants_path in infant_state_server.py#L21
-
change resolution in infant_visualizer.py#L149
-
build the package
cd ~/Documents/infant_ws
colcon build --symlink-install
-
plug in touch sensor first, then pulse sensor
-
change ~/Documents/infant_ws/run/run.sh#L{3, 4}
-
run
~/Documents/infant_ws/run/run.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
shengjie-lin/Infant
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published