Skip to content

Feature/waypoints nav#111

Open
MidnightRaider06 wants to merge 10 commits into
umdloop:mainfrom
MidnightRaider06:feature/waypoints-nav
Open

Feature/waypoints nav#111
MidnightRaider06 wants to merge 10 commits into
umdloop:mainfrom
MidnightRaider06:feature/waypoints-nav

Conversation

@MidnightRaider06
Copy link
Copy Markdown
Contributor

Waypoint manager package:

waypoint_manager_node.py: Automatically stores GPS waypoints from navigation successes and allows the rover to navigate back to them. Subscribes to /navigate_to_pose/_action/status. Whenever Nav2 completes a goal, the current /gps/fix reading is stored as a waypoint with an incrementing integer ID.

Interfaces:

  • NavigateToWaypoint action (~/navigate_to_waypoint) — takes a uint32 waypoint_id, routes through navigate_to_gps → Nav2
  • ClearWaypoints service (~/clear_waypoints) — wipes all stored waypoints and resets the ID counter
  • /waypoint_manager/state topic — publishes full waypoint list for the GUI

For the GUI what I pictured in my head was a box that would display all the waypoints currently being stored. There could be a button for clearing waypoints that would call the ClearWaypoints service in case it ever becomes too much to keep track of and we don't need previous ones, although I don't think that's likely. Lastly there could be a text entry for the waypoint ID we want to navigate back to and a button that calls the NavigateToWaypoint action.

@mdurrani808 mdurrani808 added the nav label May 4, 2026
@mdurrani808
Copy link
Copy Markdown
Collaborator

Does this let us add waypoints / enter them as well?

Comment thread src/msgs/msg/WaypointEntry.msg Outdated
Copy link
Copy Markdown
Contributor

@Rishav-N Rishav-N left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we restart the nav server will this keep the waypoints?

@MidnightRaider06
Copy link
Copy Markdown
Contributor Author

MidnightRaider06 commented May 9, 2026

Now keeps all the waypoints by default if you restart the nav server.
Added a service for adding waypoints manually instead of only previously reached goals.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants