Fast CDR exception deserializing message with Python #1238
Unanswered
JingyuQian
asked this question in
General
Replies: 1 comment 1 reply
-
Are you running this script inside of your ROS environment (i.e. the script is able to access the Decision msg definition?) How did you define the custom msg? Perhaps you can share a zip file of the package you are having trouble with along with a .mcap file so we can try it out. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I just encountered a weird error when deserializing mcap messages using python and can't figure out how to solve it. My steps were:
colcon build
all the .msg files;source install/setup.bash
;rclpy._rclpy_pybind11.RMWError: failed to deserialize ROS message: Fast CDR exception deserializing message of type pnc_msgs::msg::dds_::Decision_., at ./src/type_support_common.cpp:118
I thought it was the .msg version mismatch (serialized mcap does not use the same version of .msg as built), so I tried deleting a field in one of the msg file and redo the process, in order to prove my guess (if true, then modified .msg should fail more deserializations). But this didn't pan out.
I'm entirely new to this so any help is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions