From c6767dd2e2206a625e281647deb2884f2ff1f2ce Mon Sep 17 00:00:00 2001 From: AhmedEbrahim Date: Sat, 20 Apr 2024 01:17:31 +0200 Subject: [PATCH 1/2] feat(remaining_dist_eta): add msg definition of remaining distance and ETA Signed-off-by: AhmedEbrahim --- autoware_planning_msgs/CMakeLists.txt | 1 + autoware_planning_msgs/msg/RemainingDistanceETA.msg | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 autoware_planning_msgs/msg/RemainingDistanceETA.msg diff --git a/autoware_planning_msgs/CMakeLists.txt b/autoware_planning_msgs/CMakeLists.txt index 156dd80..10316af 100644 --- a/autoware_planning_msgs/CMakeLists.txt +++ b/autoware_planning_msgs/CMakeLists.txt @@ -15,6 +15,7 @@ rosidl_generate_interfaces(${PROJECT_NAME} "msg/PathPoint.msg" "msg/PathWithLaneId.msg" "msg/PathPointWithLaneId.msg" + "msg/RemainingDistanceETA.msg" DEPENDENCIES geometry_msgs std_msgs diff --git a/autoware_planning_msgs/msg/RemainingDistanceETA.msg b/autoware_planning_msgs/msg/RemainingDistanceETA.msg new file mode 100644 index 0000000..b09c1f4 --- /dev/null +++ b/autoware_planning_msgs/msg/RemainingDistanceETA.msg @@ -0,0 +1,4 @@ +float64 remaining_distance +uint8 hours +uint8 minutes +uint8 seconds From d6ac44a610f82e450000e4643e564b132aeba317 Mon Sep 17 00:00:00 2001 From: Ahmed Ebrahim Date: Tue, 23 Apr 2024 05:35:51 +0200 Subject: [PATCH 2/2] feat(remaining_dist_eta): update msg name and content Signed-off-by: AhmedEbrahim --- autoware_planning_msgs/CMakeLists.txt | 2 +- .../msg/MissionRemainingDistanceTime.msg | 7 +++++++ autoware_planning_msgs/msg/RemainingDistanceETA.msg | 4 ---- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 autoware_planning_msgs/msg/MissionRemainingDistanceTime.msg delete mode 100644 autoware_planning_msgs/msg/RemainingDistanceETA.msg diff --git a/autoware_planning_msgs/CMakeLists.txt b/autoware_planning_msgs/CMakeLists.txt index 10316af..84ba924 100644 --- a/autoware_planning_msgs/CMakeLists.txt +++ b/autoware_planning_msgs/CMakeLists.txt @@ -15,7 +15,7 @@ rosidl_generate_interfaces(${PROJECT_NAME} "msg/PathPoint.msg" "msg/PathWithLaneId.msg" "msg/PathPointWithLaneId.msg" - "msg/RemainingDistanceETA.msg" + "msg/MissionRemainingDistanceTime.msg" DEPENDENCIES geometry_msgs std_msgs diff --git a/autoware_planning_msgs/msg/MissionRemainingDistanceTime.msg b/autoware_planning_msgs/msg/MissionRemainingDistanceTime.msg new file mode 100644 index 0000000..b5681c5 --- /dev/null +++ b/autoware_planning_msgs/msg/MissionRemainingDistanceTime.msg @@ -0,0 +1,7 @@ +# Information about the mission remaining distance and time. + +float64 remaining_distance # Remaining distance in meters +float64 remaining_time # Remaining total time in seconds +uint32 remaining_hours # Remaining hours +uint32 remaining_minutes # Remaining minutes +uint32 remaining_seconds # Remaining seconds diff --git a/autoware_planning_msgs/msg/RemainingDistanceETA.msg b/autoware_planning_msgs/msg/RemainingDistanceETA.msg deleted file mode 100644 index b09c1f4..0000000 --- a/autoware_planning_msgs/msg/RemainingDistanceETA.msg +++ /dev/null @@ -1,4 +0,0 @@ -float64 remaining_distance -uint8 hours -uint8 minutes -uint8 seconds