User Tools

Site Tools


pixhawk_and_motion_capture_communication

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pixhawk_and_motion_capture_communication [2018/11/09 14:34]
leogeorgescu
pixhawk_and_motion_capture_communication [2018/11/09 14:49] (current)
leogeorgescu
Line 1: Line 1:
-<fs x-large>​**Pixhawk ​and Motion Capture Commmunication **</​fs>​\\+<fs x-large>​**Odroid ​and Motion Capture Commmunication **</​fs>​\\
 \\ \\
 **Author:** Leonardo Georgescu\\ **Author:** Leonardo Georgescu\\
Line 33: Line 33:
 2) One of the terminals will be used to connect to the wifi. First, ensure that the Odroid is connected to "DASL Warehouse2."​ In the terminal, type out "cd catkin_ws/"​ followed by "​source devel/​setup.bash"​ \\  2) One of the terminals will be used to connect to the wifi. First, ensure that the Odroid is connected to "DASL Warehouse2."​ In the terminal, type out "cd catkin_ws/"​ followed by "​source devel/​setup.bash"​ \\ 
 {{::​img_2820.jpg?​500|}} \\ {{::​img_2820.jpg?​500|}} \\
-Then type out "​roslaunch vrpn_client_ros sample.launch server:​=192.168.50.229"​. The IP address at the end has to be the address of the Mocap computer. To find that out, type "​ipconfig"​ in the Mocap computer'​s terminal. \\ +Then type out "​roslaunch vrpn_client_ros sample.launch server:​=192.168.50.229" ​and the following will show up. The IP address at the end has to be the address of the Mocap computer. To find that out, type "​ipconfig"​ in the Mocap computer'​s terminal. \\ 
 +{{::​img_2824.jpg?​500|}} \\ 
 +The image above shows the position of the markers on the drone. 
 +3) If the connection is successful, the terminal should look as the one below. In the image there are two termainals. The bottom one is testing the connection by "​ping"​ followed by the ip address. \\ 
 +{{::​img_2822.jpg?​500|}} \\ 
 +4) Another way to test the communication is to use another terminal to search up rostopic and see if the vrpn_client shows up. Whenever accessing any ros function, ensure that you are in the catkin folder \\ 
 +{{::​img_2823.jpg?​500|}} \\ 
 +5) The next tutorial will cover accessing Pixhawk data, as well as having the pixhawk flight controller read the position from the Mocap.\\ 
 +For further questions, email me at [email protected]
pixhawk_and_motion_capture_communication.txt · Last modified: 2018/11/09 14:49 by leogeorgescu