From 565ab951f089defae848ac2a27238af62b513386 Mon Sep 17 00:00:00 2001 From: Ahmed Ebrahim Date: Wed, 24 Apr 2024 15:21:29 +0200 Subject: [PATCH 1/2] feat(remaining_dist_eta): add msg definition for mission remaining distance and time Signed-off-by: Ahmed Ebrahim feat(remaining_dist_eta): add msg definition for mission remaining distance and time" --- CMakeLists.txt | 3 ++- msg/MissionRemainingDistanceTime.msg | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 msg/MissionRemainingDistanceTime.msg diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c357d8..c0ccd6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,8 @@ find_package(ament_cmake_auto REQUIRED) ament_auto_find_build_dependencies() set(msg_files - "msg/PublishedTime.msg") + "msg/PublishedTime.msg" + "msg/MissionRemainingDistanceTime.msg") set(msg_dependencies builtin_interfaces diff --git a/msg/MissionRemainingDistanceTime.msg b/msg/MissionRemainingDistanceTime.msg new file mode 100644 index 0000000..b5681c5 --- /dev/null +++ b/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 From cb2376dd3973c5ca73e5b3f797baca227229b9eb Mon Sep 17 00:00:00 2001 From: Ahmed Ebrahim Date: Tue, 7 May 2024 08:26:25 +0300 Subject: [PATCH 2/2] feat(remaining_dist_eta): fix review comment - remove remaining hours, remaining minutes, and remaining seconds Signed-off-by: Ahmed Ebrahim --- msg/MissionRemainingDistanceTime.msg | 3 --- 1 file changed, 3 deletions(-) diff --git a/msg/MissionRemainingDistanceTime.msg b/msg/MissionRemainingDistanceTime.msg index b5681c5..4bd54a7 100644 --- a/msg/MissionRemainingDistanceTime.msg +++ b/msg/MissionRemainingDistanceTime.msg @@ -2,6 +2,3 @@ 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