Rosbag error "No definition for RedundancyInformation"

2 次查看(过去 30 天)
When using rosbag I get the following error:
____________________________________________________________________________
>> bagselect=rosbag('2022-02-22-09-53-18_2.bag')
No definition for RedundancyInformation
Message def:
# Target Pose including redundancy information.
geometry_msgs/PoseStamped poseStamped
# If you have issues with the robot not executing the motion copy this value from the Cartesian Position Tab of the
# robot SmartPad. Set both parameters to -1 to disable them.
RedundancyInformation redundancy
_________________________________________________________________________
See no reason for this error.

回答(1 个)

Cam Salzberger
Cam Salzberger 2022-3-24
Hello Helder,
Rosbags generally are supposed to contain message definition information that can be used to deserialize the messages from the bag. Sometimes, however, that information is missing. Some tools get around that by using message definitions from the current system, but MATLAB requires the rosbag files have this information.
There is a "rosbag_fixer" tool that has worked for people in the past to add these message definitions back into the bag.
-Cam

类别

Help CenterFile Exchange 中查找有关 ROS Log Files and Transformations 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by