Read rosbag file - change between R2018b to R2020b
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Cam Salzberger
2021-6-1
移动:Jagadeesh Konakalla
2024-4-23
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 ROS Log Files and Transformations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!