ros与optitrac通信

参考https://blog.csdn.net/banzhuan133/article/details/78107422
在OP数据流窗口,右上角点击advanced show,填入在ip一栏填入本机ip,
cd ~/catkin_ws/src
git clone https://github.com/clearpathrobotics/vrpn_client_ros.git
sudo apt-get install ros-kinetic-vrpn
cd ~/catkin_ws
catkin_make
source ~/catkin_ws/devel/setup.bash
rospack profile
roslaunch vrpn_client_ros sample.launch server:=192.168.111.102
注意这边必须填入你的server,或者在launch文件里的server里填入你的主机ip,才有效果。

你可能感兴趣的:(ros)