各位大佬,在启动APM SITL仿真时会有下面一行:"mavproxy.py""--master" "tcp:127.0.0.1:5760" "--sitl""127.0.0.1:5501" "--out" "127.0.0.1:14550""--out" "127.0.0.1:14551" "--map""--console"
然后ROS通过udp连接SITL
roslaunch mavros apm.launch fcu_url:=udp://127.0.0.1:14551@14555
出现以下显示连接成功
根据官方教程http://ardupilot.org/dev/docs/ros-sitl.html以及http://ardupilot.org/dev/docs/ros-connecting.html输入以下命令时无反应
rosrun mavros mavsys mode -c 0
rosrun mavros mavsafety arm
请问,ROS是不是不能像MAVproxy一样通过命令行来控制APM?谢谢
|