roslaunch mavros apm.launch
rosservice call /mavros/set_stream_rate 0 50 1
rosrun mavros mavsafety arm
rosrun ros_erle_takeoff_land
- Use
rosrun mavros mavsys mode -c AUTO
modify the mode of UAV. - Use
rostopic echo -n1 /diagnostics | tee /tmp/diag.yml
watch the state of system. - Use
catkin_create_pkg offboard roscpp mavros geometry_msgs
create ROS package