Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ONAV-1771] Add support for on_start / on_stop Mission Tasks #18

Conversation

stephen-cpr
Copy link
Collaborator

  • clearpath_navigation_msgs/Mission.msg has been updated to include 'on_start' and 'on_stop' Task arrays which are executed when the mission begins and ends respectively (on_stop Tasks will execute regardless of mission failure or success)
  • The CreateTask service has been updated to include assign_on_start and assign_on_stop fields (similar functionality as the assign_to field)
  • The assign_to field of the CreateTask service has been updated to assign_to_wp to distinguish it from assign_on_start/assign_on_stop
  • Added the following service endpoints to mission_manager (using the AddRemoveById.srv type):
    • ~add_task_to_start & ~add_task_to_stop - Adds a task to the on_start/on_stop array for given mission
    • ~remove_task_from_start & ~remove_task_from_stop - Removes a task from the on_start/on_stop array for given mission

- clearpath_navigation_msgs/Mission.msg has been updated to include 'on_start' and 'on_stop' Task arrays which are executed when the mission begins and ends respectively (on_stop Tasks will execute regardless of mission failure or success)
- The CreateTask service has been updated to include 'assign_on_start' and 'assign_on_stop' fields (similar functionality as the 'assign_to' field)
- The 'assign_to' field of the CreateTask service has been updated to 'assign_to_wp' to distinguish it from assign_on_start/assign_on_stop
- Added the following service endpoints to mission_manager (using the AddRemoveById.srv type):
  - ~add_task_to_start & ~add_task_to_stop - Adds a task to the on_start/on_stop array for given mission
  - ~remove_task_from_start & ~remove_task_from_stop - Removes a task from the on_start/on_stop array for given mission

Signed-off-by: Stephen Phillips <stphillips@clearpathrobotics.com>
@stephen-cpr stephen-cpr marked this pull request as ready for review October 25, 2023 13:51
@stephen-cpr stephen-cpr requested a review from a team as a code owner October 25, 2023 13:51
@tonybaltovski tonybaltovski merged commit b3ea624 into clearpathrobotics:noetic-devel Oct 25, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants