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 revisionPrevious revision
Last revisionBoth sides next revision
pixhawk_and_motion_capture_communication [2018/11/09 13:59] leogeorgescupixhawk_and_motion_capture_communication [2018/11/09 14:34] leogeorgescu
Line 21: Line 21:
 4) The Ground Plane is set using a ground plane marker. It's important to place the z axis facing true north. After press "set ground plane. \\ 4) The Ground Plane is set using a ground plane marker. It's important to place the z axis facing true north. After press "set ground plane. \\
 {{::mocap4lg.jpg?500|}} \\ {{::mocap4lg.jpg?500|}} \\
-5) Place the drone 90 degrees from the z-axis which would be either east or west. Assuming that the Mocap markers are already on the drone, select the three points and then right click, select "rigid body" and "create from selected markers."  +5) Place the drone 90 degrees from the z-axis which would be either east or west. Assuming that the Mocap markers are already on the drone, select the three points and then right click, select "rigid body" and "create from selected markers." \\ 
-{{::mocap5lg.jpg?500|}}+{{::mocap5lg.jpg?500|}} \\ 
 +6) Then right click, select properties, and change the name to "uav1." \\ 
 +{{::mocap6lg.jpg?500|}} \\ 
 +7) Connect the computer via ethernet cable to the router. On the Motive software, click streaming, view, data stream, and ensure that the data matches the image below. \\ 
 +{{::mocap7lg.jpg?500|}} \\ 
 +\\ 
 +\\ 
 +Now, you have to set the odroid computer to receive data from the Mocap computer.\\ 
 +1) Turn on the terminal on the odroid computer. Make sure to have 4 terminals open. \\  
 +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|}} \\ 
 +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. \\ 
pixhawk_and_motion_capture_communication.txt · Last modified: 2018/11/09 14:49 by leogeorgescu