Read rosbag file - change between R2018b to R2020b
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Avishay Assayag
le 31 Mai 2021
Déplacé(e) : Jagadeesh Konakalla
le 23 Avr 2024
Hi,
In MATLAB R2018b I was using the command
Bag = rosbag(RosbagFileName)
and it was working fine.
When trying to use the same command with the same file on MATLAB R2020, I get the follwoing error:
The class ros.Bag has no Constant property or Static method named 'parse'.
Any idea what could be the problem?
3 commentaires
Réponse acceptée
Cam Salzberger
le 1 Juin 2021
Déplacé(e) : Jagadeesh Konakalla
le 23 Avr 2024
Hey Avishay,
I haven't seen the file, but these kinds of errors can come up if you have something shadowing functions or objects. Can you run these commands in your MATLAB?:
which -all ros.Bag
which -all ros.BagSelection
which -all rosbag
-Cam
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur ROS Log Files and Transformations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!