update dji_mist and launch files
This commit is contained in:
parent
118b3ddde5
commit
98e376ff07
|
@ -5,8 +5,14 @@ function takeoff {
|
||||||
function land {
|
function land {
|
||||||
rosservice call /buzzcmd 0 21 0 0 0 0 0 0 0 0
|
rosservice call /buzzcmd 0 21 0 0 0 0 0 0 0 0
|
||||||
}
|
}
|
||||||
|
function arm {
|
||||||
|
rosservice call /buzzcmd 0 400 0 1 0 0 0 0 0 0
|
||||||
|
}
|
||||||
|
function disarm {
|
||||||
|
rosservice call /buzzcmd 0 400 0 0 0 0 0 0 0 0
|
||||||
|
}
|
||||||
function record {
|
function record {
|
||||||
rosbag record /flight_status /global_position /dji_sdk/local_position /neighbours_pos /power_status /guidance/obstacle_distance /guidance/front_depth_image/compressedDepth /guidance/right_depth_image/compressedDepth /guidance/left_depth_image/compressedDepth /guidance/bottom_depth_image/compressedDepth /guidance/back_depth_image/compressedDepth
|
rosbag record /flight_status /global_position /users_pos /dji_sdk/local_position /neighbours_pos /power_status /guidance/obstacle_distance /guidance/front/depth/image_rect/compressedDepth /guidance/right/depth/image_rect/compressedDepth /guidance/front/depth/points /guidance/right/depth/points /guidance/front/right/image_rect/compressed /guidance/front/left/image_rect/compressed /guidance/right/right/image_rect/compressed /guidance/right/left/image_rect/compressed /guidance/front/left/camera_info /guidance/front/right/camera_info /guidance/right/right/camera_info /guidance/right/left/camera_info
|
||||||
}
|
}
|
||||||
function clean {
|
function clean {
|
||||||
sudo rm /var/log/upstart/robot*
|
sudo rm /var/log/upstart/robot*
|
||||||
|
@ -18,3 +24,7 @@ function startrobot {
|
||||||
function stoprobot {
|
function stoprobot {
|
||||||
sudo service robot stop
|
sudo service robot stop
|
||||||
}
|
}
|
||||||
|
function updaterobot {
|
||||||
|
# rosrun robot_upstart install --logdir ~/ROS_WS/log/ robot_upstart/launch/m100buzzynocam.launch
|
||||||
|
rosrun robot_upstart install --logdir ~/ROS_WS/log/ robot_upstart/launch/m100buzzy.launch
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue