ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Any suggestion on how read bag files in matlab?

asked 2015-06-14 15:56:06 -0500

Sam gravatar image

Hi all, I want to import .bag data to matlab.Can anybody guide me regarding this? Thanks,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-06-15 03:56:12 -0500

Chaos gravatar image

Hi @Sam! The Robotics System Toolbox in MATLAB r2015a provides tools for interfacing MATLAB with ROS (link). Otherwise you can download matlab-rosbag package here. The package provides tools for load and analyse bag files in matlab.

I hope this helps...

edit flag offensive delete link more

Comments

Thanks.Which is preferable? I access MATLAB.Is the robotics toolbox a "Nice catch" or good stuff for ROS?

Sam gravatar image Sam  ( 2015-06-15 12:23:31 -0500 )edit

Hi @Sam. Of course, the Robotic Toolbox is a very good tools that can interact (subscribe & publish topics, etc..) directly with the ROS master runtime, but it's not cheap. The matlab-rosbag package is a nice tool, but it works offline. If you only need to analyse a bag file, I suggest the latter.

Chaos gravatar image Chaos  ( 2015-06-16 03:13:52 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-06-14 15:56:06 -0500

Seen: 642 times

Last updated: Jun 15 '15