Rosbag error "No definition for RedundancyInformation"

1 回表示 (過去 30 日間)
Helder Araujo
Helder Araujo 2022 年 3 月 23 日
回答済み: Cam Salzberger 2022 年 3 月 24 日
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 Center および File ExchangeSpecialized Messages についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by