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

Visualizing bag files using d3.js

asked 2015-08-02 18:36:26 -0500

lamiastella gravatar image

I wonder if there is any previous work for visualizing bag files using d3.js. I know I can convert them to csv but even in that case they differ somewhat from the normal csv files. Any hint is really appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-03 23:09:56 -0500

William gravatar image

You could publish the contents of the bag using rosbridge:

And then use roslibjs to interface it with d3.js:

If you want the data in a different flat format, you could use the rosbag API C++/Python to access the bag and then write it out to something else:

edit flag offensive delete link more


Hi @William can you please provide more details like the commands I should run in terminal? I am new to ROS and find this answer very high-level for me. Is there also a similar work of visualizing bag files using d3.js you can link me to? I've been googling but it was unsuccessful

lamiastella gravatar image lamiastella  ( 2015-08-04 13:44:16 -0500 )edit

I don't have time to walk you through it, but I'd recommend following the tutorials for rosbridge and/or roslibjs. I'm not aware of any out-of-the-box integration between d3.js and ROS. You're going to have to do some legwork and figure out what has already been done and what still needs to be done.

William gravatar image William  ( 2015-08-04 14:15:26 -0500 )edit

Question Tools

1 follower


Asked: 2015-08-02 18:36:26 -0500

Seen: 684 times

Last updated: Aug 03 '15