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

Delivery alerts and beacons #60

Merged
merged 9 commits into from
Dec 12, 2023
Merged
5 changes: 5 additions & 0 deletions rmf_fleet_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ set(msg_files
"msg/MutexGroupAssignment.msg"
"msg/MutexGroupRequest.msg"
"msg/MutexGroupStates.msg"
"msg/BeaconState.msg"
"msg/DeliveryAlert.msg"
"msg/DeliveryAlertAction.msg"
"msg/DeliveryAlertCategory.msg"
"msg/DeliveryAlertTier.msg"
)

set(srv_files
Expand Down
7 changes: 7 additions & 0 deletions rmf_fleet_msgs/msg/BeaconState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This message defines data from a robot beacon

string id
bool online
string category
bool activated
string level
6 changes: 6 additions & 0 deletions rmf_fleet_msgs/msg/DeliveryAlert.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
string id
DeliveryAlertCategory category
DeliveryAlertTier tier
string task_id
DeliveryAlertAction action
string message
5 changes: 5 additions & 0 deletions rmf_fleet_msgs/msg/DeliveryAlertAction.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
uint32 value
uint32 WAITING=0
uint32 CANCEL=1
uint32 OVERRIDE=2
uint32 RESUME=3
5 changes: 5 additions & 0 deletions rmf_fleet_msgs/msg/DeliveryAlertCategory.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
uint32 value
uint32 MISSING=0
uint32 WRONG=1
uint32 OBSTRUCTED=2
uint32 CANCELLED=3
3 changes: 3 additions & 0 deletions rmf_fleet_msgs/msg/DeliveryAlertTier.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
uint32 value
uint32 WARNING=0
uint32 ERROR=1