rosnodejs
rosnodejs copied to clipboard
Msg with encapsulated with std_msgs doesn't works
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.
Hmm, Header may be an exception here. The old logic used to prepend "std_msgs/" to "Header". I'll re-add that functionality.
That's what I did in my local version, I don't know yet if there are more "Exception".
@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 : thanks for the information