Ask Your Question

Using ROS messages as types in another message

asked 2012-06-05 15:32:00 -0500

johnw gravatar image


I am a little confused about using messages as data types within another message. Is this possible? How does the system resolve the message type? I noticed that the Header message does not require a package name.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-06-05 17:10:10 -0500

joq gravatar image

Use package_name/MessageName. That external package must have a <depends> in your manifest.xml. If the included message is defined in the same package, you can leave off the package_name/.

Header is a special case.

edit flag offensive delete link more

answered 2012-06-05 21:32:52 -0500

malong gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-06-05 15:32:00 -0500

Seen: 372 times

Last updated: Jun 05 '12