Closed CameronFraser closed 3 months ago
Thank you for pointing out the issue with the latest update of rosbags and suggesting a workaround by pinning to an earlier version. it works.
@CameronFraser if i am using ros noetic, what version of rosbag should i pin to?
@CameronFraser if i am using ros noetic, what version of rosbag should i pin to?
I have the same problem! Do u solve it?
@CameronFraser if i am using ros noetic, what version of rosbag should i pin to?
I Comment out the "from rosbags.serde.serdes import cdr_to_ros1" at evo/tools/file_interface.py and success!
it works!!! you are a life safer @Pinklet
Thanks for the report, I'll release a patch with a hotfix to pin the version.
I'll then look into a proper fix here: https://github.com/MichaelGrupp/evo/issues/638
rosbags is a great package and IMO the only viable option for cross-platform & cross ROS version data compatibility, but unfortunately has not reached a major version that has API stability...
Hotfix is rolled out in evo v1.26.1
. If you already got that rosbags version, you can do: pip install rosbags==0.9.19
to downgrade for now, which has the same effect as the hotfix.
Yesterday rosbags released an update that introduces a breaking change to this project: https://gitlab.com/ternaris/rosbags/-/commit/5aacc7eb800f1c0299d263bbdff68f3eeaff8e6b
Specifically around the serde imports
Suggest pinning to an earlier version of rosbags