-
Notifications
You must be signed in to change notification settings - Fork 318
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
Bags with malformed rosjava message definitions break some rosbag operations #402
Comments
I've tested this tool: https://github.com/gavanderhoorn/rosbag_fixer and it works nicely
|
Hm. I tested a similar tool before that didn't work, or maybe I called it the wrong way, but I agree your way works fine on astrobeast. Nice find! With this new information, I would recommend the following steps to close this issue:
|
This is now included in the documentation. We will follow up with Jonathan to see about adding it to the default processing pipeline. |
Superceded by more recent issue. |
[Oops, first opened this issue as https://github.com/nasa/isaac/issues/32 by mistake. Belongs in this repo.]
Astrobee FSW bags often contain messages produced by the guest science manager running on the HLP implemented in Android Java, publishing messages using rosjava. The relevant message topics start with /gs/gs_manager.
These bags cause certain rosbag API calls and command-line utilities, such as rosbag check and rosbag filter, to fail with the following non-intuitive error message:
genmsg.msg_loader.MsgNotFound: Cannot locate message [Header]: unknown package [std_msgs] on search path [{}]
This external issue discusses the problem: jacknlliu/development-issues#39 . It seems to be related to rosjava not including the expected dependency information along with its message definitions.
The error message makes it look suspiciously like the ROS environment is not activated or somehow misconfigured, but it occurs even when all the other messages in the FSW bag work fine, as you can verify by filtering out the /gs/* messages and making the same rosbag calls. (Also, rosmsg info std_msgs/Header works fine.)
We've observed this with FSW bags, making rosbag calls in the standard environment on the astrobeast server. An example bag is https://hivemind.ndc.nasa.gov/freeflyer/2022-01-03_100/robot_data/SN003/bags/20220103_1237_ars_default.bag
It's probably not within our project scope to fix this rosjava problem, but there should be some documented guidance on how to cope with it.
The text was updated successfully, but these errors were encountered: