cmu-mars / brass-unlogger

post process logs from lincoln tests into summary data
0 stars 0 forks source link

add visualization #3

Open ivoysey opened 7 years ago

ivoysey commented 7 years ago

write another script that, given a test name, marks up a version of the map with where the robot started, where it ended up, what the goal was, and where an obstacle was placed (and if it was removed some how.)

it could be nice to know where the robot was when other perturbations happened too but that is harder. you'd have to compute the simtime and then find the most recent observe in the observe log. and it just tells you that the robot was there, not how it got there; to really visualize the path of the bot you'd want to process the entire observe log. we might want to know that later but that's a second step probably.

ivoysey commented 7 years ago

https://pypi.python.org/pypi/svgwrite/

ivoysey commented 7 years ago

Right now, the script make_maps.py makes marked up maps for everything in results.csv. It uses the coordinates from the JSON file, but they need to be translated into the coordinate space of the image file. I don't know what that translation is yet, but it can be done once at https://github.com/ivoysey/brass-unlogger/blob/master/make_maps.py#L27