Skip to content

OptiTrack/mocap4ros2_optitrack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocap_optitrack_driver

GitHub Action Status

codecov

Create workspace:

mkdir -p mocap_ws/src && cd mocap_ws/src

Download optitrack repo:

git clone https://github.com/MOCAP4ROS2-Project/mocap4ros2_optitrack.git

Install dependencies:

vcs import < mocap4ros2_optitrack/dependency_repos.repos

Compiling workspace:

cd .. && colcon build --symlink-install

Source workspace:

source install/setup.bash

Setup your optitrack configuration:

mocap_ws/src/mocap4ros2_optitrack/mocap_optitrack_driver/config/mocap_optitrack_driver_params.yaml

Launch optitrack system:

ros2 launch mocap_optitrack_driver optitrack2.launch.py

Check that Optitrack configuration works fine and is connected. As the driver node is a lifecycle node, you should transition to activate:

ros2 lifecycle set /mocap_optitrack_driver_node activate

Similarly you can shutdown with the following:

ros2 lifecycle set /mocap_optitrack_driver_node shutdown

Visualize in rViz:

ros2 launch mocap_optitrack_driver optitrack_rviz.launch.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 75.6%
  • Python 15.2%
  • CMake 9.2%