ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Pusblishing to topic problem (Mavros)

asked 2015-12-23 19:50:12 -0500

harewei gravatar image

I'm trying to push to the override RC for mavros.

I checked the message type first rostopic type mavros/rc/override giving mavros_msgs/OverrideRCIn

I then check the parameters for this message type rosmsg show mavros_msgs/OverrideRCIn giving uint16 CHAN_RELEASE=0 uint16 CHAN_NOCHANGE=65535 uint16[8] channels

however, when I try to publish with rostopic pub /mavros/rc/override mavros/OverrideRCIn "channels:[1500, 1500, 1500, 1500, 1325, 1560, 2000, 1500]" it gives the following error ERROR: invalid message type: mavros/OverrideRCIn. If this is a valid message type, perhaps you need to type 'rosmake mavros'

am I passing the arguments wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-24 07:28:33 -0500

vooon gravatar image

mavros/ != mavros_msgs/!

Also check rc_io docs.

edit flag offensive delete link more


right, stupid me for missing that...thanks!

harewei gravatar image harewei  ( 2015-12-24 19:47:53 -0500 )edit

Question Tools


Asked: 2015-12-23 19:50:12 -0500

Seen: 1,128 times

Last updated: Dec 24 '15