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

Combined msgs into custom msgs

asked 2014-10-03 13:25:38 -0600

Joao Luis gravatar image

Hello, I'm trying to combine 3 different msgs into a single one. I'd like to create a msg only with the fields required for my application and after that publish this msg into a topic. Anyone knows how can I do that? Thanks J.L.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-03 13:47:27 -0600

bvbdort gravatar image
edit flag offensive delete link more


I'd like to put some fields used in Imu msgs and GPS msgs in one message, like, mySensorsMsg. Did you understand? Maybe your first link will help me! Thanks!

Joao Luis gravatar image Joao Luis  ( 2014-10-03 16:15:29 -0600 )edit

yes with custom message you can create message with fields you like to have.

bvbdort gravatar image bvbdort  ( 2014-10-03 16:59:58 -0600 )edit

Thank you very much. I'm testing it and it is working until now. If I have more doubts I will be in touch! Thankss

Joao Luis gravatar image Joao Luis  ( 2014-10-03 17:33:37 -0600 )edit

Question Tools

1 follower


Asked: 2014-10-03 13:25:38 -0600

Seen: 619 times

Last updated: Oct 03 '14