Lendemor / optitrack_person

human position from motion capture data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

optitrack_person

Small ROS package to have optitrack data from differents segments of differents persons in hanp_msgs format

build

Utilisation:

In optitrack, you need to name your rigid bodies this way :
person_<id>_<segment>
where <id> is a integer value and <segment> one of the following value : "head","torso", "right_shoulder","right_elbow","right_wrist","right_hip","right_knee","right_ankle", "left_shoulder", "left_elbow", "left_wrist", "left_hip", "left_knee", "left_ankle"

Then run the node:
rosparam publish_rate <rate> with rate between 10 and 100.
rosparam mcast <ip_broadcast>
rosrun optitrack_person optitrack_person_node

You can also use the launch file: roslaunch optitrack_person optitrack_person.launch mcast:=239.192.168.30 publish_rate:=<rate>
Make sure that the adress match the one in optitrack and that the diffusion mode is set to multicast.

Raw Data :

There is an alternate launch file if you just want the separate topics for the raw data: roslaunch optitrack_person optitrack.launch

About

human position from motion capture data


Languages

Language:C++ 82.1%Language:CMake 10.5%Language:Shell 6.5%Language:Tcl 0.8%