Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.63 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.63 KB

ROS Nodes for NaturalPoint Optitrack Motion Capture System

A ROS package for extracting streaming information from Optitrack system and publishing rigid-body and free marker information.

This has been tested in the EPFL Predict setup with Motive 3.0.1 and ROS2 Humble.


Installation and Setup

Clone this repository to your ROS [ROS_WS]/src folder and then run catkin_make to build the package.

ROS Configuration

Modify the mocap_optitrack/config/mocap.yaml configuration file. The optitrack_config parameters in this file are currently set for the EPFL Predict setup. Set free_markers to true if you want all unlabeled markers (not belonging to rigid bodies) to be published. Define a new rigid-body for each rigid-body that is being tracked by the Optitrack system that you want published. The number corresponds to the Streaming ID value set in the Motive software for the particular asset. The remaining parameters for each rigid-body specify the ROS topic name information.

Motive:Tracker Configuration

Create any assets in the scene that you want to stream information for.

Enable Broadcast Frame Data

Under View -> Data Streaming Pane make sure Local Interface is set to the IP address of the computer running Motive:Tracker corresponding to the network that is used to share the data stream.

Enable Rigid Bodies and Unlabeled Markers

Set Transmission Type to Multicast

Ensure the Command Port, Data Port, and Multicast Interface match the values in the mocap_optitrack/config/mocap.yaml configuration file.


Use

Run the mocap ROS node by:

roslaunch mocap_optitrack mocap.launch