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

Combined msgs into custom msgs

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

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
1

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

bvbdort gravatar image
edit flag offensive delete link more

Comments

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 -0500 )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 -0500 )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 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 705 times

Last updated: Oct 03 '14