Skip to content

Comments

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

Open
ethanhu912 wants to merge 15 commits intomainfrom
SPDonaghy/753-pathfinding-data-plotting
Open

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
ethanhu912 wants to merge 15 commits intomainfrom
SPDonaghy/753-pathfinding-data-plotting

Conversation

@ethanhu912
Copy link

Description

  • Resolves Pathfinding data plotting workflow #753
  • Added script to main_launch.py to automatically create a rosbag in that stores data published to local_path.
  • Added a code cell to explore_bag_data.ipynb to display usable information from the first 5 points stored in the rosbag while the system is running

Verification

  • Tested using the added code cell in explore_bag_data.ipynb to verify all fields are included and the correct data is being recorded.

@ethanhu912 ethanhu912 self-assigned this Feb 23, 2026
@ethanhu912 ethanhu912 added the path Pathfinding team label Feb 23, 2026
@raghumanimehta
Copy link
Contributor

  • Added a code cell to explore_bag_data.ipynb to display usable information from the first 5 points stored in the rosbag while the system is running

Can you elaborate on this please? @ethanhu912

@ethanhu912
Copy link
Author

ethanhu912 commented Feb 23, 2026

  • Added a code cell to explore_bag_data.ipynb to display usable information from the first 5 points stored in the rosbag while the system is running

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

path Pathfinding team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pathfinding data plotting workflow

3 participants