From 85a39c33e5e13be910837c0f87269993818c9661 Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" Date: Fri, 22 Nov 2024 19:20:26 +0900 Subject: [PATCH] feat(autoware_adapi_v1_msgs): add manual control mode Signed-off-by: Takagi, Isamu --- autoware_adapi_v1_msgs/CMakeLists.txt | 3 +++ autoware_adapi_v1_msgs/manual/msg/ManualControlMode.msg | 5 +++++ .../manual/msg/ManualControlModeStatus.msg | 2 ++ .../manual/srv/SelectManualControlMode.srv | 3 +++ 4 files changed, 13 insertions(+) create mode 100644 autoware_adapi_v1_msgs/manual/msg/ManualControlMode.msg create mode 100644 autoware_adapi_v1_msgs/manual/msg/ManualControlModeStatus.msg create mode 100644 autoware_adapi_v1_msgs/manual/srv/SelectManualControlMode.srv diff --git a/autoware_adapi_v1_msgs/CMakeLists.txt b/autoware_adapi_v1_msgs/CMakeLists.txt index 3a2844a..7721aa6 100644 --- a/autoware_adapi_v1_msgs/CMakeLists.txt +++ b/autoware_adapi_v1_msgs/CMakeLists.txt @@ -11,9 +11,12 @@ rosidl_generate_interfaces(${PROJECT_NAME} manual/msg/AccelCommand.msg manual/msg/GearCommand.msg manual/msg/HazardLightsCommand.msg + manual/msg/ManualControlMode.msg + manual/msg/ManualControlModeStatus.msg manual/msg/PedalCommand.msg manual/msg/SteerCommand.msg manual/msg/TurnIndicatorsCommand.msg + manual/srv/SelectManualControlMode.srv routing/msg/RouteState.msg routing/msg/Route.msg routing/msg/RouteData.msg diff --git a/autoware_adapi_v1_msgs/manual/msg/ManualControlMode.msg b/autoware_adapi_v1_msgs/manual/msg/ManualControlMode.msg new file mode 100644 index 0000000..64757f1 --- /dev/null +++ b/autoware_adapi_v1_msgs/manual/msg/ManualControlMode.msg @@ -0,0 +1,5 @@ +uint8 DISABLED = 1 +uint8 PEDAL = 2 +uint8 ACCEL = 3 + +uint8 mode diff --git a/autoware_adapi_v1_msgs/manual/msg/ManualControlModeStatus.msg b/autoware_adapi_v1_msgs/manual/msg/ManualControlModeStatus.msg new file mode 100644 index 0000000..63f6f35 --- /dev/null +++ b/autoware_adapi_v1_msgs/manual/msg/ManualControlModeStatus.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +autoware_adapi_v1_msgs/ManualControlMode mode diff --git a/autoware_adapi_v1_msgs/manual/srv/SelectManualControlMode.srv b/autoware_adapi_v1_msgs/manual/srv/SelectManualControlMode.srv new file mode 100644 index 0000000..0e04d9d --- /dev/null +++ b/autoware_adapi_v1_msgs/manual/srv/SelectManualControlMode.srv @@ -0,0 +1,3 @@ +autoware_adapi_v1_msgs/ManualControlMode mode +--- +autoware_adapi_v1_msgs/ResponseStatus status