Ask Your Question
1

Using ROS messages as types in another message

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

johnw gravatar image

Hello,

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.

-John
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
4

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

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
0

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

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

Stats

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

Seen: 249 times

Last updated: Jun 05 '12