Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions rmf_task_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ set(msg_files
"msg/Loop.msg"
# New task Msgs
"msg/TaskType.msg"
"msg/Clean.msg"
"msg/TaskProfile.msg"
"msg/BidNotice.msg"
"msg/BidProposal.msg"
Expand Down
2 changes: 2 additions & 0 deletions rmf_task_msgs/msg/Clean.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
string start_waypoint

14 changes: 10 additions & 4 deletions rmf_task_msgs/msg/TaskProfile.msg
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ builtin_interfaces/Time submission_time
# Desired start time of a task
builtin_interfaces/Time start_time

# e.g. Delivery, Station.....
TaskType type
# Task type
TaskType task_type

# Task definitions
Station station
Loop loop
Delivery delivery
# Charge charge
Clean clean
# Patrol patrol

# Params
BehaviorParameter[] params
15 changes: 7 additions & 8 deletions rmf_task_msgs/msg/TaskType.msg
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# type of task
uint8 value
uint32 type
uint32 TYPE_STATION=0
uint32 TYPE_LOOP=1
uint32 TYPE_DELIVERY=2
uint32 TYPE_CHARGING=3
uint32 TYPE_CLEANING=4
uint32 TYPE_PATROL=5

uint8 STATION_TASK=0
uint8 LOOP_TASK=1
uint8 DELIVERY_TASK=2
uint8 CHARGING_TASK=3
uint8 CLEANING_TASK=4
uint8 PATROL_TASK=5
13 changes: 9 additions & 4 deletions rmf_task_msgs/srv/SubmitTask.srv
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ string requester
# Desired start time of a task
builtin_interfaces/Time start_time

# e.g. Delivery, Station.....
TaskType type
# Task type
TaskType task_type

# Params
BehaviorParameter[] params
# Task definitions
Station station
Loop loop
Delivery delivery
# Charge charge
Clean clean
# Patrol patrol

---

Expand Down