
Description
I can't retrieve the pose of a 3D object in ROS . I have 2 computers, one with Windows 10 and one with Ubuntu 18.
The Windows PC has Motive: Tracker 2.2.0 with the following settings in Optitrack Streaming Engine:
- Bradcase Frame Data: On
- Local Interface: the computer's IP, not loopback
- Rigid Bodies: On
- Transmission Type: Multicast
- Command Port: 1510
- Data Port: 1511
- Multicast Interface: 239.255.42.99
The Linux PC has ROS Melodic and with following installation steps:
cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/mocap_optitrack.git
cd ..
catkin build
The project was built with the below modifications:
- Command Port: 1510
- Data Port: 1511
- Multicast Interface: 239.255.42.99
I run the following command :
roslaunch mocap_optitrack mocap.launch
and get the below:
roslaunch mocap_optitrack mocap.launch
... logging to /home/george/.ros/log/0bbc8108-88c0-11eb-a872-000c2978f07e/roslaunch-ubuntu-69992.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:38971/
SUMMARY
PARAMETERS
- /mocap_node/optitrack_config/command_port: 1510
- /mocap_node/optitrack_config/data_port: 1511
- /mocap_node/optitrack_config/enable_optitrack: True
- /mocap_node/optitrack_config/multicast_address: 239.255.42.99
- /mocap_node/rigid_bodies/1/child_frame_id: Robot_1/base_link
- /mocap_node/rigid_bodies/1/odom: Robot_1/Odom
- /mocap_node/rigid_bodies/1/parent_frame_id: world
- /mocap_node/rigid_bodies/1/pose2d: Robot_1/ground_pose
- /mocap_node/rigid_bodies/1/pose: Robot_1/pose
- /mocap_node/rigid_bodies/1/tf: tf
- /mocap_node/rigid_bodies/2/child_frame_id: Robot_2/base_link
- /mocap_node/rigid_bodies/2/odom: Robot_2/Odom
- /mocap_node/rigid_bodies/2/parent_frame_id: world
- /mocap_node/rigid_bodies/2/pose2d: Robot_2/ground_pose
- /mocap_node/rigid_bodies/2/pose: Robot_2/pose
- /mocap_node/rigid_bodies/2/tf: tf
- /rosdistro: melodic
- /rosversion: 1.14.10
NODES
/
mocap_node (mocap_optitrack/mocap_node)
auto-starting new master
process[master]: started with pid [70002]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 0bbc8108-88c0-11eb-a872-000c2978f07e
process[rosout-1]: started with pid [70013]
started core service [/rosout]
process[mocap_node-2]: started with pid [70020]
[ WARN] [1616164398.362593479]: Could not get server version, using auto