ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Ok, so I have it working and this is what I did:
- Install vrpn-client-ros:
- gvdhoorn mentioned you can easily do this with:
sudo apt-get install ros-kinetic-vrpn-client-ros
- I didn't do it that way so I can't vouch for it working, what I did do is:
2 | No.2 Revision |
Ok, so I have it working and this is what I did:
- did:
Install vrpn-client-ros: vrpn_client_ros:
-
sudo apt-get install ros-kinetic-vrpn-client-ros
- ros-kinetic-vrpn-client-ros
cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/vrpn_client_ros.git
sudo apt-get update
rosdep install --from-paths .
cd ~/catkin_ws
catkin_make
launch vrpn_client_ros:
roslaunch vrpn_client_ros sample.launch server:=<ip_of_server_machine>
rosnode list
If you already set up motive with the streaming configurations and you have a rigid body marked in your world you can see if the data is passed to ros using:
rostopic echo /vrpn_client_node/<name_of_rigid_body>/pose
Configuring Motive:
streaming data:
calibrate cameras:
I followed this video:
https://www.youtube.com/watch?v=cNZaFEghTBU
creating rigid body:
I followed the instructions in https://v20.wiki.optitrack.com/index.php?title=Rigid_Body_Tracking
I hope this manages to help someone else, it was very frustrating for me, but seeing it now it seems fairly simple.
A lot of thanks to all the people who helped me along the way, especially gvdhoorn who answered my questions quick and graciously.
3 | No.3 Revision |
Ok, so I have it working and this is what I did:
Install vrpn_client_ros:
sudo apt-get install ros-kinetic-vrpn-client-ros
cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/vrpn_client_ros.git
sudo apt-get update
rosdep install --from-paths .
cd ~/catkin_ws
catkin_make
launch vrpn_client_ros:
roslaunch vrpn_client_ros sample.launch server:=<ip_of_server_machine>
rosnode list
If you already set up motive with the streaming configurations and you have a rigid body marked in your world you can see if the data is passed to ros using:
rostopic echo /vrpn_client_node/<name_of_rigid_body>/pose
Configuring Motive:
streaming data:
calibrate cameras:
I followed this video:
https://www.youtube.com/watch?v=cNZaFEghTBUhttps://www.youtube.com/watch?time_continue=92&v=cNZaFEghTBU
creating rigid body:
I followed the instructions in https://v20.wiki.optitrack.com/index.php?title=Rigid_Body_Tracking
I hope this manages to help someone else, it was very frustrating for me, but seeing it now it seems fairly simple.
A lot of thanks to all the people who helped me along the way, especially gvdhoorn who answered my questions quick and graciously.
4 | No.4 Revision |
Ok, so I have it working and this is what I did:
I ended up using vrpn_ros_cliet (not to be confused with ros_vrpn_client):
http://wiki.ros.org/vrpn_client_ros
Install vrpn_client_ros:
sudo apt-get install ros-kinetic-vrpn-client-ros
cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/vrpn_client_ros.git
sudo apt-get update
rosdep install --from-paths .
cd ~/catkin_ws
catkin_make
launch vrpn_client_ros:
roslaunch vrpn_client_ros sample.launch server:=<ip_of_server_machine>
rosnode list
If you already set up motive with the streaming configurations and you have a rigid body marked in your world you can see if the data is passed to ros using:
rostopic echo /vrpn_client_node/<name_of_rigid_body>/pose
Configuring Motive:
streaming data:
calibrate cameras:
I followed this video:
https://www.youtube.com/watch?time_continue=92&v=cNZaFEghTBU
creating rigid body:
I followed the instructions in https://v20.wiki.optitrack.com/index.php?title=Rigid_Body_Tracking
I hope this manages to help someone else, it was very frustrating for me, but seeing it now it seems fairly simple.
A lot of thanks to all the people who helped me along the way, especially gvdhoorn who answered my questions quick and graciously.