Plot Trajectory from Bag file using MatLab

In my Final Paper of my Graduation in Electrical Engineering, I had to plot the trajectory of the wheelchair in the SLAM simulation.

I tried to use PlotJuggler but it isn’t possible to plot a non time series in a XY plot.

So, I use MATLAB to read the BAG File (file that contains the record logs of the ROS simulation) and plot the data =)

The Matlab Script is here.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.