From 7dea15da4015626bc36be1e8656ba726e555f826 Mon Sep 17 00:00:00 2001 From: Aditya Pachauri Date: Fri, 3 Apr 2026 01:26:05 +0530 Subject: [PATCH] feat: add RobotCollision.msg to rmf_fleet_msgs This message is added to broadcast collision events and the location of the respective robot during emergency stops. Required for open-rmf/rmf_simulation#160 and resolves open-rmf/rmf_simulation#159. Signed-off-by: Aditya Pachauri --- rmf_fleet_msgs/CMakeLists.txt | 1 + rmf_fleet_msgs/msg/RobotCollision.msg | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 rmf_fleet_msgs/msg/RobotCollision.msg diff --git a/rmf_fleet_msgs/CMakeLists.txt b/rmf_fleet_msgs/CMakeLists.txt index 1f50943..6af9c32 100644 --- a/rmf_fleet_msgs/CMakeLists.txt +++ b/rmf_fleet_msgs/CMakeLists.txt @@ -47,6 +47,7 @@ set(msg_files "msg/DeliveryAlertCategory.msg" "msg/DeliveryAlertTier.msg" "msg/EmergencySignal.msg" + "msg/RobotCollision.msg" ) set(srv_files diff --git a/rmf_fleet_msgs/msg/RobotCollision.msg b/rmf_fleet_msgs/msg/RobotCollision.msg new file mode 100644 index 0000000..6ba24c0 --- /dev/null +++ b/rmf_fleet_msgs/msg/RobotCollision.msg @@ -0,0 +1,5 @@ +# name of the robot that triggered the collision/emergency stop +string robot_name + +# location of the robot at the time of the collision +rmf_fleet_msgs/Location location \ No newline at end of file