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

Not all topics publishing data [closed]

asked 2015-09-25 07:56:30 -0600

KBrown gravatar image


A few topics macros topics won't publish. But most do. I am interested in getting the topic /mavros/rc/out. However, whenever I

`$rostopic echo /mavros/rc/out'

There is no data.

I have a Pixhawk with the px4 flight stack and I am connecting it to a raspberry pi 2 running ubuntu with ROS indigo. Does anyone know of a solution to this?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by KBrown
close date 2015-09-25 10:05:53.188998

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-25 08:55:53 -0600

vooon gravatar image

That depends on how you setup connection. If using SYS_COMPANION parameter then you should request servo topics.

Place extras.txt on your SD card to etc folder (full path: /fs/microsd/etc/extras.txt):

# additional streams for SYS_COMPANION
mavlink stream -d /dev/ttyS2 -s SERVO_OUTPUT_RAW_0 -r 20

Also here example how to autostart ros on rpi2:

edit flag offensive delete link more


Excellent, it worked. Thank you very much.

KBrown gravatar image KBrown  ( 2015-09-25 10:02:38 -0600 )edit

Question Tools

1 follower


Asked: 2015-09-25 07:56:30 -0600

Seen: 375 times

Last updated: Sep 25 '15