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

Add mission scheduler restore service #203

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ exists, the returned object will have a blank UUID.

**Service Type:** [cpr_mission_scheduler_msgs/srv/ImportData](definitions.mdx#scheduler-importdata)

**Description:** Import data exported by the `export_data` service. This will delete all schedules and replace the
database contents with the imported data.
**Description:** Import data exported by the `export_data` service. This will add new schedules to the database
but will not modify or delete any existing schedules.

:::note

This service is intended to be used in combination with the `export_data` service to facilitate backups or
synchronizing schedules across multiple robots.
This service is intended to be used in combination with the `export_data` service to facilitate deploying new
schedules across multiple robots.

:::

Expand All @@ -172,6 +172,20 @@ synchronizing schedules across multiple robots.
**Description:** Remove the mission at a given position from a schedule, or remove all copies of a mission from a
schedule

### mission_scheduler/restore

**Service Type:** [cpr_mission_scheduler_msgs/srv/ImportData](definitions.mdx#scheduler-importdata)

**Description:** Restore data exported by the `export_data` service. This will delete all schedules and replace the
database contents with the imported data.

:::note

This service is intended to be used in combination with the `export_data` service to facilitate backups or
synchronizing schedules across multiple robots.

:::

### mission_scheduler/update_schedule

**Service Type:** [mission_scheduler/srv/UpdateSchedule](definitions.mdx#scheduler-updateschedule)
Expand Down