Added a script to main_launch.py and a test to explore_bag_data.ipynb to verify that data published to local_path is collected.#823
Conversation
…ocal_path to test whether the automatic data collection works.
Can you elaborate on this please? @ethanhu912 |
Yep! If you take a look at the cell above the one that I've added, you can see that Sean used df.head() to display the messages from local_path. These messages show that we have data for each field, but they're difficult to digest. I've created a df_summary that creates a table to turn this into readable data from each message. If you compare both tables, you can see they essentially have the same fields but the added cell displays extracted data from the messages themselves like latitude, longitude, desired heading angle, etc. I did this for testing because I couldn't tell from df.head() whether the local_path topic contained the correct data and whether rosbag was automatically recording this data, but now it's much easier to show. df is a pandas DataFrame which is essentially just a table that displays each message. Please let me know if you have any more questions! |
Description
main_launch.pyto automatically create a rosbag in that stores data published to local_path.explore_bag_data.ipynbto display usable information from the first 5 points stored in the rosbag while the system is runningVerification
explore_bag_data.ipynbto verify all fields are included and the correct data is being recorded.