Hello,
We are working on a Rover with Pixhawk 1 and Odroid xu4 as companion board. Mavproxy and mavros are running fine with those commands:
sudo mavproxy.py --master=/dev/ttyUSB0 --baudrate 921600 --out udp:127.0.0.1:14540 --out udp:127.0.0.1:14550 --console
roslaunch mavros apm.launch fcu_url:=udp://:14550@
After arming and setting GUIDED mode, rostopic echo /mavros/state returns:
header
seq:432
stamp:
secs: 152xxxxxx
nsecs: 332xxxxxx
frame_id = ' '
connected: True
armed: True
guided: True
mode: "GUIDED"
system_status: 5
At this point, we are able to echo publishing topics such as /mavros/imu/data . But when we try to publish velocity commands on /mavros/setpoint_velocity/cmd_vel with:
rostopic pub -r 10 mavros/setpoint_velocity/cmd_vel geometry_msgs/TwistStamped "{header: auto, twist: {linear: {x: 1.0, y: 1.0, z: 1.0}, angular: {x: 0.0, y: 0.0, z: 1.0}}}"
Nothing happens: /mavros/rc/out does not vary at all. We have seen several posts on various forum, but no one can explain why it doesn’t work ?
matt