-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rosbag recording #38
Comments
The difference in message definition appears to break some From running
|
If I understand it right, this commit (0b5c68d) trim the indent in message definitions if only we generate the messages using ros_msg_utils here. But some users may still use gennodejs which still generate spaces in message definitions. I'll create an issue there. And since gennodejs is widely used, I think rosnodejs should consider the case that sometime users might need to use .js message files already generated by gennodejs even if gennodejs fixes the indentations in later versions, for compatibility reason. Maybe we can add an optional feature in rosnodejs which will trim the spaces when creating the publish headers. (here or here or wrap this class here) By doing these we can fix this issue for good. |
I can do a pull request. But first I need some comments and feedback from other people. |
rosbag
seems to depend on publishers including the message definition in their connection header although that field is not mentioned in the spec. Without the message definition,rosbag
tools complain about mismatching md5 sums.Including the message definition still results in different bags, though I'm not certain if this is a problem.
Message definition in connection header for a
rosnodejs
bagMessage definition in connection header for a
rospy
bagThe text was updated successfully, but these errors were encountered: