rosnodejs icon indicating copy to clipboard operation
rosnodejs copied to clipboard

Msg with encapsulated with std_msgs doesn't works

Open maxired opened this issue 13 years ago • 4 comments
trafficstars

Using a message wich contains an uncaspulated standard message, the message is searced only in the packages directory and not in the standard one.

For example sensor_msgs/Image conains a field Header. We look for the field Header in the sensor_msgs packages, but not also in the std_msgs.

maxired avatar Jul 11 '12 09:07 maxired

Hmm, Header may be an exception here. The old logic used to prepend "std_msgs/" to "Header". I'll re-add that functionality.

baalexander avatar Jul 12 '12 15:07 baalexander

That's what I did in my local version, I don't know yet if there are more "Exception".

maxired avatar Jul 12 '12 20:07 maxired

@maxired - I just wanted to give you a heads up that I'm planning to spend some time fixing these issues, but won't have a chance to sit down and focus on it for about a week.

As for this specific issue, I think a single check if === "Header", prepend std_msgs/ should be fine for now.

baalexander avatar Jul 19 '12 03:07 baalexander

@baalexander : thanks for the information

maxired avatar Jul 19 '12 06:07 maxired