Rosbag error "No definition for RedundancyInformation"

1 view (last 30 days)
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.

Answers (1)

Cam Salzberger
Cam Salzberger on 24 Mar 2022
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.


Find more on Specialized Messages in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!