Extract ground truth generation from `autogenerate_ground_truth_main.cc` into a library function in `ground_truth.h/cc`, so it can be reused outside that binary. Tested with Cartographer ROS. `cartographer_autogenerate_ground_truth -pose_graph_filename=/home/afleck/Downloads/b3-2016-04-05-15-51-36.bag.pbstream -output_filename=/home/afleck/Downloads/ground_truth.pb` still runs as before. |
||
|---|---|---|
| .. | ||
| proto | ||
| autogenerate_ground_truth.cc | ||
| autogenerate_ground_truth.h | ||
| autogenerate_ground_truth_main.cc | ||
| compute_relations_metrics_main.cc | ||
| relations_text_file.cc | ||
| relations_text_file.h | ||