This repository contains the setup and configuration files for a ROS2 environment that interfaces with Optitrack motion capture systems. The environment is designed to facilitate the development and testing of applications that require real-time motion capture data.
Set up from ros2-vscode-container-dev template.
-
Clone the Repository and navigate to the project directory:
git clone git@github.com:clausqr/ros2-optitrack-env.git cd ros2-optitrack-env -
Build image as per ros2-vscode-container-dev template instructions:
./rr build
-
Run the container:
./rr run
-
Setup everything in the container:
cd /ros2_ws bash init.bash
From here on follow the instructions in the README.md file of the mocap4ros2_optitrack package.
-
SSH Access: If SSH access is enabled, you can connect to the container to start coding using:
ssh -p 20022 user@localhost