Ask Your Question
0

Not all topics publishing data [closed]

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

KBrown gravatar image

Hi

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
1

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

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):

#!nsh
# 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: https://github.com/vooon/rarog/tree/m...

edit flag offensive delete link more

Comments

Excellent, it worked. Thank you very much.

KBrown gravatar imageKBrown ( 2015-09-25 10:02:38 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 207 times

Last updated: Sep 25 '15