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

How to create a new ros topic for specific messages

asked 2015-10-08 16:34:00 -0500

Humberto Beltrao gravatar image

updated 2015-10-08 16:35:28 -0500

Topics in ROS are strongly typed. I need to publish and subscribe messages I have created for hector_uav_msgs folder but existing topics don't support them. How to start creating from scratch a new rostopic so my own messages can be applied?

Any suggestion will be appreciated.

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-10-08 23:58:52 -0500

updated 2015-10-09 13:32:13 -0500

edit flag offensive delete link more


Thanks for your answer. However, my point is to publish/subscribe new message types. Summing up, a new topic where I can use the messages. Hector_quadrotor topics have their own messages and even inserting my new messages correctly in hector_uav_msgs, I haven't figured out how to pub/sub them yet

Humberto Beltrao gravatar image Humberto Beltrao  ( 2015-10-09 07:55:45 -0500 )edit

I have just figured out how to do what I was looking for using ros service idea. So thanks again, Gary!

Humberto Beltrao gravatar image Humberto Beltrao  ( 2015-10-10 23:33:13 -0500 )edit

Question Tools

1 follower


Asked: 2015-10-08 16:34:00 -0500

Seen: 563 times

Last updated: Oct 09 '15