Rosbag error "No definition for RedundancyInformation"

2 views (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.
-Cam

Categories

Find more on ROS Log Files and Transformations in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!