Jbwasse2 / topological-mapping

Topological Maps on Real World Robot
0 stars 0 forks source link

Similarity Bag to Image Script #32

Open Jbwasse2 opened 3 years ago

Jbwasse2 commented 3 years ago

Will be nice to have a script to get the images from the rosbag. Already have a rosnode for extracting images "ros2 run top_map extractor". So it'd be nice to have a script that does the following. 1) Run extractor node as background process 2) rosbag play the rosbag (ONLY IF WE HAVEN"T ALREADY EXTRACTED IT) 3) Kill extractor node and go to 1 (This is necessary because we'd like the indices of the images to start back at 0).

The files should be saved in a manner that is consistent with the current file structure in the data directory.

Jbwasse2 commented 3 years ago

I told @dorianisnairod to look into this, perhaps there is already something out there that can extract the data we need from the bags. This extraction is necessary for getting data to train the deep learning models.