From a7b74890a58383d0907d53e4eedf91d3b7ed9ecc Mon Sep 17 00:00:00 2001 From: beginningfan Date: Mon, 11 Dec 2023 10:21:38 +0800 Subject: [PATCH 1/5] feat(autoware_vehicle_msgs): add autoware_vehicle_msgs Signed-off-by: beginningfan --- autoware_vehicle_msgs/CMakeLists.txt | 51 +++++++++++++++++++ .../msg/ControlModeCommand.msg | 6 +++ .../msg/ControlModeReport.msg | 10 ++++ autoware_vehicle_msgs/msg/Engage.msg | 2 + autoware_vehicle_msgs/msg/GearCommand.msg | 28 ++++++++++ autoware_vehicle_msgs/msg/GearReport.msg | 28 ++++++++++ .../msg/HandBrakeCommand.msg | 2 + autoware_vehicle_msgs/msg/HandBrakeReport.msg | 2 + .../msg/HazardLightsCommand.msg | 6 +++ .../msg/HazardLightsReport.msg | 5 ++ .../msg/HeadlightsCommand.msg | 7 +++ .../msg/HeadlightsReport.msg | 6 +++ autoware_vehicle_msgs/msg/HornCommand.msg | 2 + autoware_vehicle_msgs/msg/HornReport.msg | 2 + .../msg/RawControlCommand.msg | 6 +++ .../msg/StationaryLockingCommand.msg | 2 + autoware_vehicle_msgs/msg/SteeringReport.msg | 2 + .../msg/TurnIndicatorsCommand.msg | 7 +++ .../msg/TurnIndicatorsReport.msg | 6 +++ .../msg/VehicleControlCommand.msg | 5 ++ .../msg/VehicleKinematicState.msg | 3 ++ autoware_vehicle_msgs/msg/VehicleOdometry.msg | 4 ++ .../msg/VehicleStateCommand.msg | 32 ++++++++++++ .../msg/VehicleStateReport.msg | 30 +++++++++++ autoware_vehicle_msgs/msg/VelocityReport.msg | 4 ++ autoware_vehicle_msgs/msg/WheelEncoder.msg | 2 + autoware_vehicle_msgs/msg/WipersCommand.msg | 18 +++++++ autoware_vehicle_msgs/msg/WipersReport.msg | 17 +++++++ autoware_vehicle_msgs/package.xml | 28 ++++++++++ 29 files changed, 323 insertions(+) create mode 100644 autoware_vehicle_msgs/CMakeLists.txt create mode 100644 autoware_vehicle_msgs/msg/ControlModeCommand.msg create mode 100644 autoware_vehicle_msgs/msg/ControlModeReport.msg create mode 100644 autoware_vehicle_msgs/msg/Engage.msg create mode 100644 autoware_vehicle_msgs/msg/GearCommand.msg create mode 100644 autoware_vehicle_msgs/msg/GearReport.msg create mode 100644 autoware_vehicle_msgs/msg/HandBrakeCommand.msg create mode 100644 autoware_vehicle_msgs/msg/HandBrakeReport.msg create mode 100644 autoware_vehicle_msgs/msg/HazardLightsCommand.msg create mode 100644 autoware_vehicle_msgs/msg/HazardLightsReport.msg create mode 100644 autoware_vehicle_msgs/msg/HeadlightsCommand.msg create mode 100644 autoware_vehicle_msgs/msg/HeadlightsReport.msg create mode 100644 autoware_vehicle_msgs/msg/HornCommand.msg create mode 100644 autoware_vehicle_msgs/msg/HornReport.msg create mode 100644 autoware_vehicle_msgs/msg/RawControlCommand.msg create mode 100644 autoware_vehicle_msgs/msg/StationaryLockingCommand.msg create mode 100644 autoware_vehicle_msgs/msg/SteeringReport.msg create mode 100644 autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg create mode 100644 autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg create mode 100644 autoware_vehicle_msgs/msg/VehicleControlCommand.msg create mode 100644 autoware_vehicle_msgs/msg/VehicleKinematicState.msg create mode 100644 autoware_vehicle_msgs/msg/VehicleOdometry.msg create mode 100644 autoware_vehicle_msgs/msg/VehicleStateCommand.msg create mode 100644 autoware_vehicle_msgs/msg/VehicleStateReport.msg create mode 100644 autoware_vehicle_msgs/msg/VelocityReport.msg create mode 100644 autoware_vehicle_msgs/msg/WheelEncoder.msg create mode 100644 autoware_vehicle_msgs/msg/WipersCommand.msg create mode 100644 autoware_vehicle_msgs/msg/WipersReport.msg create mode 100644 autoware_vehicle_msgs/package.xml diff --git a/autoware_vehicle_msgs/CMakeLists.txt b/autoware_vehicle_msgs/CMakeLists.txt new file mode 100644 index 0000000..0b8bbf1 --- /dev/null +++ b/autoware_vehicle_msgs/CMakeLists.txt @@ -0,0 +1,51 @@ +# All rights reserved. +cmake_minimum_required(VERSION 3.5) + +### Export headers +project(autoware_vehicle_msgs) + +# Generate messages +find_package(ament_cmake_auto REQUIRED) +ament_auto_find_build_dependencies() + +rosidl_generate_interfaces(${PROJECT_NAME} + "msg/ControlModeCommand.msg" + "msg/ControlModeReport.msg" + "msg/Engage.msg" + "msg/GearCommand.msg" + "msg/GearReport.msg" + "msg/HandBrakeCommand.msg" + "msg/HandBrakeReport.msg" + "msg/HazardLightsCommand.msg" + "msg/HazardLightsReport.msg" + "msg/HeadlightsCommand.msg" + "msg/HeadlightsReport.msg" + "msg/HornCommand.msg" + "msg/HornReport.msg" + "msg/RawControlCommand.msg" + "msg/StationaryLockingCommand.msg" + "msg/SteeringReport.msg" + "msg/TurnIndicatorsCommand.msg" + "msg/TurnIndicatorsReport.msg" + "msg/VehicleControlCommand.msg" + "msg/VehicleKinematicState.msg" + "msg/VehicleOdometry.msg" + "msg/VehicleStateCommand.msg" + "msg/VehicleStateReport.msg" + "msg/VelocityReport.msg" + "msg/WheelEncoder.msg" + "msg/WipersCommand.msg" + "msg/WipersReport.msg" + DEPENDENCIES + "autoware_planning_msgs" + "builtin_interfaces" + "std_msgs" + ADD_LINTER_TESTS +) + +if(BUILD_TESTING) + find_package(ament_lint_auto REQUIRED) + ament_lint_auto_find_test_dependencies() +endif() + +ament_auto_package() diff --git a/autoware_vehicle_msgs/msg/ControlModeCommand.msg b/autoware_vehicle_msgs/msg/ControlModeCommand.msg new file mode 100644 index 0000000..bab3efd --- /dev/null +++ b/autoware_vehicle_msgs/msg/ControlModeCommand.msg @@ -0,0 +1,6 @@ +uint8 NO_COMMAND = 0 +uint8 AUTONOMOUS = 1 +uint8 MANUAL = 2 + +builtin_interfaces/Time stamp +uint8 mode \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/ControlModeReport.msg b/autoware_vehicle_msgs/msg/ControlModeReport.msg new file mode 100644 index 0000000..010a1a4 --- /dev/null +++ b/autoware_vehicle_msgs/msg/ControlModeReport.msg @@ -0,0 +1,10 @@ +uint8 NO_COMMAND = 0 +uint8 AUTONOMOUS = 1 +uint8 AUTONOMOUS_STEER_ONLY = 2 +uint8 AUTONOMOUS_VELOCITY_ONLY = 3 +uint8 MANUAL = 4 +uint8 DISENGAGED = 5 +uint8 NOT_READY = 6 + +builtin_interfaces/Time stamp +uint8 mode \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/Engage.msg b/autoware_vehicle_msgs/msg/Engage.msg new file mode 100644 index 0000000..3559628 --- /dev/null +++ b/autoware_vehicle_msgs/msg/Engage.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +bool engage \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/GearCommand.msg b/autoware_vehicle_msgs/msg/GearCommand.msg new file mode 100644 index 0000000..7ba136d --- /dev/null +++ b/autoware_vehicle_msgs/msg/GearCommand.msg @@ -0,0 +1,28 @@ +uint8 NONE = 0 +uint8 NEUTRAL = 1 +uint8 DRIVE = 2 +uint8 DRIVE_2 = 3 +uint8 DRIVE_3 = 4 +uint8 DRIVE_4 = 5 +uint8 DRIVE_5 = 6 +uint8 DRIVE_6 = 7 +uint8 DRIVE_7 = 8 +uint8 DRIVE_8 = 9 +uint8 DRIVE_9 = 10 +uint8 DRIVE_10 = 11 +uint8 DRIVE_11 = 12 +uint8 DRIVE_12 = 13 +uint8 DRIVE_13 = 14 +uint8 DRIVE_14 = 15 +uint8 DRIVE_15 = 16 +uint8 DRIVE_16 = 17 +uint8 DRIVE_17 = 18 +uint8 DRIVE_18 = 19 +uint8 REVERSE = 20 +uint8 REVERSE_2 = 21 +uint8 PARK = 22 +uint8 LOW = 23 +uint8 LOW_2 = 24 + +builtin_interfaces/Time stamp +uint8 command \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/GearReport.msg b/autoware_vehicle_msgs/msg/GearReport.msg new file mode 100644 index 0000000..539d158 --- /dev/null +++ b/autoware_vehicle_msgs/msg/GearReport.msg @@ -0,0 +1,28 @@ +uint8 NONE = 0 +uint8 NEUTRAL = 1 +uint8 DRIVE = 2 +uint8 DRIVE_2 = 3 +uint8 DRIVE_3 = 4 +uint8 DRIVE_4 = 5 +uint8 DRIVE_5 = 6 +uint8 DRIVE_6 = 7 +uint8 DRIVE_7 = 8 +uint8 DRIVE_8 = 9 +uint8 DRIVE_9 = 10 +uint8 DRIVE_10 = 11 +uint8 DRIVE_11 = 12 +uint8 DRIVE_12 = 13 +uint8 DRIVE_13 = 14 +uint8 DRIVE_14 = 15 +uint8 DRIVE_15 = 16 +uint8 DRIVE_16 = 17 +uint8 DRIVE_17 = 18 +uint8 DRIVE_18 = 19 +uint8 REVERSE = 20 +uint8 REVERSE_2 = 21 +uint8 PARK = 22 +uint8 LOW = 23 +uint8 LOW_2 = 24 + +builtin_interfaces/Time stamp +uint8 report \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HandBrakeCommand.msg b/autoware_vehicle_msgs/msg/HandBrakeCommand.msg new file mode 100644 index 0000000..64ea7b6 --- /dev/null +++ b/autoware_vehicle_msgs/msg/HandBrakeCommand.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +bool active \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HandBrakeReport.msg b/autoware_vehicle_msgs/msg/HandBrakeReport.msg new file mode 100644 index 0000000..fd68a46 --- /dev/null +++ b/autoware_vehicle_msgs/msg/HandBrakeReport.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +bool report \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HazardLightsCommand.msg b/autoware_vehicle_msgs/msg/HazardLightsCommand.msg new file mode 100644 index 0000000..714de74 --- /dev/null +++ b/autoware_vehicle_msgs/msg/HazardLightsCommand.msg @@ -0,0 +1,6 @@ +uint8 NO_COMMAND = 0 +uint8 DISABLE = 1 +uint8 ENABLE = 2 + +builtin_interfaces/Time stamp +uint8 command \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HazardLightsReport.msg b/autoware_vehicle_msgs/msg/HazardLightsReport.msg new file mode 100644 index 0000000..e72099b --- /dev/null +++ b/autoware_vehicle_msgs/msg/HazardLightsReport.msg @@ -0,0 +1,5 @@ +uint8 DISABLE = 1 +uint8 ENABLE = 2 + +builtin_interfaces/Time stamp +uint8 report \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HeadlightsCommand.msg b/autoware_vehicle_msgs/msg/HeadlightsCommand.msg new file mode 100644 index 0000000..8490e9d --- /dev/null +++ b/autoware_vehicle_msgs/msg/HeadlightsCommand.msg @@ -0,0 +1,7 @@ +uint8 NO_COMMAND = 0 +uint8 DISABLE = 1 +uint8 ENABLE_LOW = 2 +uint8 ENABLE_HIGH = 3 + +builtin_interfaces/Time stamp +uint8 command \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HeadlightsReport.msg b/autoware_vehicle_msgs/msg/HeadlightsReport.msg new file mode 100644 index 0000000..029ae12 --- /dev/null +++ b/autoware_vehicle_msgs/msg/HeadlightsReport.msg @@ -0,0 +1,6 @@ +uint8 DISABLE = 1 +uint8 ENABLE_LOW = 2 +uint8 ENABLE_HIGH = 3 + +builtin_interfaces/Time stamp +uint8 report \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HornCommand.msg b/autoware_vehicle_msgs/msg/HornCommand.msg new file mode 100644 index 0000000..64ea7b6 --- /dev/null +++ b/autoware_vehicle_msgs/msg/HornCommand.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +bool active \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HornReport.msg b/autoware_vehicle_msgs/msg/HornReport.msg new file mode 100644 index 0000000..fd68a46 --- /dev/null +++ b/autoware_vehicle_msgs/msg/HornReport.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +bool report \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/RawControlCommand.msg b/autoware_vehicle_msgs/msg/RawControlCommand.msg new file mode 100644 index 0000000..5b83312 --- /dev/null +++ b/autoware_vehicle_msgs/msg/RawControlCommand.msg @@ -0,0 +1,6 @@ +builtin_interfaces/Time stamp +uint8 command +uint32 throttle +uint32 brake +int32 front_steer +int32 rear_steer \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg b/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg new file mode 100644 index 0000000..79857e9 --- /dev/null +++ b/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +bool avoid_stationary_locking \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/SteeringReport.msg b/autoware_vehicle_msgs/msg/SteeringReport.msg new file mode 100644 index 0000000..5f57e40 --- /dev/null +++ b/autoware_vehicle_msgs/msg/SteeringReport.msg @@ -0,0 +1,2 @@ +builtin_interfaces/Time stamp +float32 steering_tire_angle \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg b/autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg new file mode 100644 index 0000000..9b44e9f --- /dev/null +++ b/autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg @@ -0,0 +1,7 @@ +uint8 NO_COMMAND = 0 +uint8 DISABLE = 1 +uint8 ENABLE_LEFT = 2 +uint8 ENABLE_RIGHT = 3 + +builtin_interfaces/Time stamp +uint8 command \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg b/autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg new file mode 100644 index 0000000..503423d --- /dev/null +++ b/autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg @@ -0,0 +1,6 @@ +uint8 DISABLE = 1 +uint8 ENABLE_LEFT = 2 +uint8 ENABLE_RIGHT = 3 + +builtin_interfaces/Time stamp +uint8 report \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/VehicleControlCommand.msg b/autoware_vehicle_msgs/msg/VehicleControlCommand.msg new file mode 100644 index 0000000..3728ccd --- /dev/null +++ b/autoware_vehicle_msgs/msg/VehicleControlCommand.msg @@ -0,0 +1,5 @@ +builtin_interfaces/Time stamp +float32 long_accel_mps2 +float32 velocity_mps +float32 front_wheel_angle_rad +float32 rear_wheel_angle_rad diff --git a/autoware_vehicle_msgs/msg/VehicleKinematicState.msg b/autoware_vehicle_msgs/msg/VehicleKinematicState.msg new file mode 100644 index 0000000..fb345a8 --- /dev/null +++ b/autoware_vehicle_msgs/msg/VehicleKinematicState.msg @@ -0,0 +1,3 @@ +std_msgs/Header header +autoware_planning_msgs/TrajectoryPoint state +geometry_msgs/Transform delta \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/VehicleOdometry.msg b/autoware_vehicle_msgs/msg/VehicleOdometry.msg new file mode 100644 index 0000000..6a75c2a --- /dev/null +++ b/autoware_vehicle_msgs/msg/VehicleOdometry.msg @@ -0,0 +1,4 @@ +builtin_interfaces/Time stamp +float32 velocity_mps +float32 front_wheel_angle_rad +float32 rear_wheel_angle_rad \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/VehicleStateCommand.msg b/autoware_vehicle_msgs/msg/VehicleStateCommand.msg new file mode 100644 index 0000000..c9f8415 --- /dev/null +++ b/autoware_vehicle_msgs/msg/VehicleStateCommand.msg @@ -0,0 +1,32 @@ +uint8 BLINKER_NO_COMMAND = 0 +uint8 BLINKER_OFF = 1 +uint8 BLINKER_LEFT = 2 +uint8 BLINKER_RIGHT = 3 +uint8 BLINKER_HAZARD = 4 +uint8 HEADLIGHT_NO_COMMAND = 0 +uint8 HEADLIGHT_OFF = 1 +uint8 HEADLIGHT_ON = 2 +uint8 HEADLIGHT_HIGH = 3 +uint8 WIPER_NO_COMMAND = 0 +uint8 WIPER_OFF = 1 +uint8 WIPER_LOW = 2 +uint8 WIPER_HIGH = 3 +uint8 WIPER_CLEAN = 14 +uint8 GEAR_NO_COMMAND = 0 +uint8 GEAR_DRIVE = 1 +uint8 GEAR_REVERSE = 2 +uint8 GEAR_PARK = 3 +uint8 GEAR_LOW = 4 +uint8 GEAR_NEUTRAL = 5 +uint8 MODE_NO_COMMAND = 0 +uint8 MODE_AUTONOMOUS = 1 +uint8 MODE_MANUAL = 2 + +builtin_interfaces/Time stamp +uint8 blinker +uint8 headlight +uint8 wiper +uint8 gear +uint8 mode +bool hand_brake +bool horn \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/VehicleStateReport.msg b/autoware_vehicle_msgs/msg/VehicleStateReport.msg new file mode 100644 index 0000000..ecdda99 --- /dev/null +++ b/autoware_vehicle_msgs/msg/VehicleStateReport.msg @@ -0,0 +1,30 @@ +uint8 BLINKER_OFF = 1 +uint8 BLINKER_LEFT = 2 +uint8 BLINKER_RIGHT = 3 +uint8 BLINKER_HAZARD = 4 +uint8 HEADLIGHT_OFF = 1 +uint8 HEADLIGHT_ON = 2 +uint8 HEADLIGHT_HIGH = 3 +uint8 WIPER_OFF = 1 +uint8 WIPER_LOW = 2 +uint8 WIPER_HIGH = 3 +uint8 WIPER_CLEAN = 14 +uint8 GEAR_DRIVE = 1 +uint8 GEAR_REVERSE = 2 +uint8 GEAR_PARK = 3 +uint8 GEAR_LOW = 4 +uint8 GEAR_NEUTRAL = 5 +uint8 MODE_AUTONOMOUS = 1 +uint8 MODE_MANUAL = 2 +uint8 MODE_DISENGAGED = 3 +uint8 MODE_NOT_READY = 4 + +builtin_interfaces/Time stamp +uint8 fuel +uint8 blinker +uint8 headlight +uint8 wiper +uint8 gear +uint8 mode +bool hand_brake +bool horn \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/VelocityReport.msg b/autoware_vehicle_msgs/msg/VelocityReport.msg new file mode 100644 index 0000000..9b6b4be --- /dev/null +++ b/autoware_vehicle_msgs/msg/VelocityReport.msg @@ -0,0 +1,4 @@ +std_msgs/Header header +float32 longitudinal_velocity +float32 lateral_velocity +float32 heading_rate \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/WheelEncoder.msg b/autoware_vehicle_msgs/msg/WheelEncoder.msg new file mode 100644 index 0000000..c1bd490 --- /dev/null +++ b/autoware_vehicle_msgs/msg/WheelEncoder.msg @@ -0,0 +1,2 @@ +std_msgs/Header header +float32 speed_mps \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/WipersCommand.msg b/autoware_vehicle_msgs/msg/WipersCommand.msg new file mode 100644 index 0000000..090fd91 --- /dev/null +++ b/autoware_vehicle_msgs/msg/WipersCommand.msg @@ -0,0 +1,18 @@ +uint8 NO_COMMAND = 0 +uint8 DISABLE = 1 +uint8 ENABLE_LOW = 2 +uint8 ENABLE_HIGH = 3 +uint8 ENABLE_INT_1 = 4 +uint8 ENABLE_INT_2 = 5 +uint8 ENABLE_INT_3 = 6 +uint8 ENABLE_INT_4 = 7 +uint8 ENABLE_INT_5 = 8 +uint8 ENABLE_INT_6 = 9 +uint8 ENABLE_INT_7 = 10 +uint8 ENABLE_INT_8 = 11 +uint8 ENABLE_INT_9 = 12 +uint8 ENABLE_INT_10 = 13 +uint8 ENABLE_CLEAN = 14 + +builtin_interfaces/Time stamp +uint8 command \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/WipersReport.msg b/autoware_vehicle_msgs/msg/WipersReport.msg new file mode 100644 index 0000000..1d237de --- /dev/null +++ b/autoware_vehicle_msgs/msg/WipersReport.msg @@ -0,0 +1,17 @@ +uint8 DISABLE = 1 +uint8 ENABLE_LOW = 2 +uint8 ENABLE_HIGH = 3 +uint8 ENABLE_INT_1 = 4 +uint8 ENABLE_INT_2 = 5 +uint8 ENABLE_INT_3 = 6 +uint8 ENABLE_INT_4 = 7 +uint8 ENABLE_INT_5 = 8 +uint8 ENABLE_INT_6 = 9 +uint8 ENABLE_INT_7 = 10 +uint8 ENABLE_INT_8 = 11 +uint8 ENABLE_INT_9 = 12 +uint8 ENABLE_INT_10 = 13 +uint8 ENABLE_CLEAN = 14 + +builtin_interfaces/Time stamp +uint8 report \ No newline at end of file diff --git a/autoware_vehicle_msgs/package.xml b/autoware_vehicle_msgs/package.xml new file mode 100644 index 0000000..946b611 --- /dev/null +++ b/autoware_vehicle_msgs/package.xml @@ -0,0 +1,28 @@ + + + + autoware_vehicle_msgs + 1.0.0 + Interfaces between core Autoware.Auto vehicle components + Apex.AI, Inc. + Apache 2 + + ament_cmake_auto + rosidl_default_generators + + autoware_planning_msgs + builtin_interfaces + std_msgs + + rosidl_default_runtime + + ament_lint_auto + ament_lint_common + + rosidl_interface_packages + + + ament_cmake + + + From 0cd6b0fed7d3a173d6a8b4e857635b020eb4b627 Mon Sep 17 00:00:00 2001 From: beginningfan Date: Mon, 11 Dec 2023 10:34:26 +0800 Subject: [PATCH 2/5] feat(autoware_vehicle_msgs): add ControlModeCommand.srv Signed-off-by: beginningfan --- autoware_vehicle_msgs/CMakeLists.txt | 1 + autoware_vehicle_msgs/srv/ControlModeCommand.srv | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 autoware_vehicle_msgs/srv/ControlModeCommand.srv diff --git a/autoware_vehicle_msgs/CMakeLists.txt b/autoware_vehicle_msgs/CMakeLists.txt index 0b8bbf1..acf49bc 100644 --- a/autoware_vehicle_msgs/CMakeLists.txt +++ b/autoware_vehicle_msgs/CMakeLists.txt @@ -36,6 +36,7 @@ rosidl_generate_interfaces(${PROJECT_NAME} "msg/WheelEncoder.msg" "msg/WipersCommand.msg" "msg/WipersReport.msg" + "srv/ControlModeCommand.srv" DEPENDENCIES "autoware_planning_msgs" "builtin_interfaces" diff --git a/autoware_vehicle_msgs/srv/ControlModeCommand.srv b/autoware_vehicle_msgs/srv/ControlModeCommand.srv new file mode 100644 index 0000000..988a7a6 --- /dev/null +++ b/autoware_vehicle_msgs/srv/ControlModeCommand.srv @@ -0,0 +1,12 @@ +uint8 NO_COMMAND = 0 +uint8 AUTONOMOUS = 1 +uint8 AUTONOMOUS_STEER_ONLY = 2 +uint8 AUTONOMOUS_VELOCITY_ONLY = 3 +uint8 MANUAL = 4 + +builtin_interfaces/Time stamp +uint8 mode + +--- + +bool success From 1e6616fc9860dcd0ae1fa42d8a7c3581e6d5e89b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 02:45:47 +0000 Subject: [PATCH 3/5] style(pre-commit): autofix --- autoware_vehicle_msgs/msg/ControlModeCommand.msg | 2 +- autoware_vehicle_msgs/msg/ControlModeReport.msg | 2 +- autoware_vehicle_msgs/msg/Engage.msg | 2 +- autoware_vehicle_msgs/msg/GearCommand.msg | 2 +- autoware_vehicle_msgs/msg/GearReport.msg | 2 +- autoware_vehicle_msgs/msg/HandBrakeCommand.msg | 2 +- autoware_vehicle_msgs/msg/HandBrakeReport.msg | 2 +- autoware_vehicle_msgs/msg/HazardLightsCommand.msg | 2 +- autoware_vehicle_msgs/msg/HazardLightsReport.msg | 2 +- autoware_vehicle_msgs/msg/HeadlightsCommand.msg | 2 +- autoware_vehicle_msgs/msg/HeadlightsReport.msg | 2 +- autoware_vehicle_msgs/msg/HornCommand.msg | 2 +- autoware_vehicle_msgs/msg/HornReport.msg | 2 +- autoware_vehicle_msgs/msg/RawControlCommand.msg | 2 +- autoware_vehicle_msgs/msg/StationaryLockingCommand.msg | 2 +- autoware_vehicle_msgs/msg/SteeringReport.msg | 2 +- autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg | 2 +- autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg | 2 +- autoware_vehicle_msgs/msg/VehicleKinematicState.msg | 2 +- autoware_vehicle_msgs/msg/VehicleOdometry.msg | 2 +- autoware_vehicle_msgs/msg/VehicleStateCommand.msg | 2 +- autoware_vehicle_msgs/msg/VehicleStateReport.msg | 2 +- autoware_vehicle_msgs/msg/VelocityReport.msg | 2 +- autoware_vehicle_msgs/msg/WheelEncoder.msg | 2 +- autoware_vehicle_msgs/msg/WipersCommand.msg | 2 +- autoware_vehicle_msgs/msg/WipersReport.msg | 2 +- autoware_vehicle_msgs/package.xml | 1 - 27 files changed, 26 insertions(+), 27 deletions(-) diff --git a/autoware_vehicle_msgs/msg/ControlModeCommand.msg b/autoware_vehicle_msgs/msg/ControlModeCommand.msg index bab3efd..19f9320 100644 --- a/autoware_vehicle_msgs/msg/ControlModeCommand.msg +++ b/autoware_vehicle_msgs/msg/ControlModeCommand.msg @@ -3,4 +3,4 @@ uint8 AUTONOMOUS = 1 uint8 MANUAL = 2 builtin_interfaces/Time stamp -uint8 mode \ No newline at end of file +uint8 mode diff --git a/autoware_vehicle_msgs/msg/ControlModeReport.msg b/autoware_vehicle_msgs/msg/ControlModeReport.msg index 010a1a4..874d540 100644 --- a/autoware_vehicle_msgs/msg/ControlModeReport.msg +++ b/autoware_vehicle_msgs/msg/ControlModeReport.msg @@ -7,4 +7,4 @@ uint8 DISENGAGED = 5 uint8 NOT_READY = 6 builtin_interfaces/Time stamp -uint8 mode \ No newline at end of file +uint8 mode diff --git a/autoware_vehicle_msgs/msg/Engage.msg b/autoware_vehicle_msgs/msg/Engage.msg index 3559628..c5fe7dc 100644 --- a/autoware_vehicle_msgs/msg/Engage.msg +++ b/autoware_vehicle_msgs/msg/Engage.msg @@ -1,2 +1,2 @@ builtin_interfaces/Time stamp -bool engage \ No newline at end of file +bool engage diff --git a/autoware_vehicle_msgs/msg/GearCommand.msg b/autoware_vehicle_msgs/msg/GearCommand.msg index 7ba136d..79c1bc8 100644 --- a/autoware_vehicle_msgs/msg/GearCommand.msg +++ b/autoware_vehicle_msgs/msg/GearCommand.msg @@ -25,4 +25,4 @@ uint8 LOW = 23 uint8 LOW_2 = 24 builtin_interfaces/Time stamp -uint8 command \ No newline at end of file +uint8 command diff --git a/autoware_vehicle_msgs/msg/GearReport.msg b/autoware_vehicle_msgs/msg/GearReport.msg index 539d158..82e4c53 100644 --- a/autoware_vehicle_msgs/msg/GearReport.msg +++ b/autoware_vehicle_msgs/msg/GearReport.msg @@ -25,4 +25,4 @@ uint8 LOW = 23 uint8 LOW_2 = 24 builtin_interfaces/Time stamp -uint8 report \ No newline at end of file +uint8 report diff --git a/autoware_vehicle_msgs/msg/HandBrakeCommand.msg b/autoware_vehicle_msgs/msg/HandBrakeCommand.msg index 64ea7b6..a2b1784 100644 --- a/autoware_vehicle_msgs/msg/HandBrakeCommand.msg +++ b/autoware_vehicle_msgs/msg/HandBrakeCommand.msg @@ -1,2 +1,2 @@ builtin_interfaces/Time stamp -bool active \ No newline at end of file +bool active diff --git a/autoware_vehicle_msgs/msg/HandBrakeReport.msg b/autoware_vehicle_msgs/msg/HandBrakeReport.msg index fd68a46..311341c 100644 --- a/autoware_vehicle_msgs/msg/HandBrakeReport.msg +++ b/autoware_vehicle_msgs/msg/HandBrakeReport.msg @@ -1,2 +1,2 @@ builtin_interfaces/Time stamp -bool report \ No newline at end of file +bool report diff --git a/autoware_vehicle_msgs/msg/HazardLightsCommand.msg b/autoware_vehicle_msgs/msg/HazardLightsCommand.msg index 714de74..8bd5a9d 100644 --- a/autoware_vehicle_msgs/msg/HazardLightsCommand.msg +++ b/autoware_vehicle_msgs/msg/HazardLightsCommand.msg @@ -3,4 +3,4 @@ uint8 DISABLE = 1 uint8 ENABLE = 2 builtin_interfaces/Time stamp -uint8 command \ No newline at end of file +uint8 command diff --git a/autoware_vehicle_msgs/msg/HazardLightsReport.msg b/autoware_vehicle_msgs/msg/HazardLightsReport.msg index e72099b..c64d225 100644 --- a/autoware_vehicle_msgs/msg/HazardLightsReport.msg +++ b/autoware_vehicle_msgs/msg/HazardLightsReport.msg @@ -2,4 +2,4 @@ uint8 DISABLE = 1 uint8 ENABLE = 2 builtin_interfaces/Time stamp -uint8 report \ No newline at end of file +uint8 report diff --git a/autoware_vehicle_msgs/msg/HeadlightsCommand.msg b/autoware_vehicle_msgs/msg/HeadlightsCommand.msg index 8490e9d..1e33d09 100644 --- a/autoware_vehicle_msgs/msg/HeadlightsCommand.msg +++ b/autoware_vehicle_msgs/msg/HeadlightsCommand.msg @@ -4,4 +4,4 @@ uint8 ENABLE_LOW = 2 uint8 ENABLE_HIGH = 3 builtin_interfaces/Time stamp -uint8 command \ No newline at end of file +uint8 command diff --git a/autoware_vehicle_msgs/msg/HeadlightsReport.msg b/autoware_vehicle_msgs/msg/HeadlightsReport.msg index 029ae12..d9df7ee 100644 --- a/autoware_vehicle_msgs/msg/HeadlightsReport.msg +++ b/autoware_vehicle_msgs/msg/HeadlightsReport.msg @@ -3,4 +3,4 @@ uint8 ENABLE_LOW = 2 uint8 ENABLE_HIGH = 3 builtin_interfaces/Time stamp -uint8 report \ No newline at end of file +uint8 report diff --git a/autoware_vehicle_msgs/msg/HornCommand.msg b/autoware_vehicle_msgs/msg/HornCommand.msg index 64ea7b6..a2b1784 100644 --- a/autoware_vehicle_msgs/msg/HornCommand.msg +++ b/autoware_vehicle_msgs/msg/HornCommand.msg @@ -1,2 +1,2 @@ builtin_interfaces/Time stamp -bool active \ No newline at end of file +bool active diff --git a/autoware_vehicle_msgs/msg/HornReport.msg b/autoware_vehicle_msgs/msg/HornReport.msg index fd68a46..311341c 100644 --- a/autoware_vehicle_msgs/msg/HornReport.msg +++ b/autoware_vehicle_msgs/msg/HornReport.msg @@ -1,2 +1,2 @@ builtin_interfaces/Time stamp -bool report \ No newline at end of file +bool report diff --git a/autoware_vehicle_msgs/msg/RawControlCommand.msg b/autoware_vehicle_msgs/msg/RawControlCommand.msg index 5b83312..e126d8a 100644 --- a/autoware_vehicle_msgs/msg/RawControlCommand.msg +++ b/autoware_vehicle_msgs/msg/RawControlCommand.msg @@ -3,4 +3,4 @@ uint8 command uint32 throttle uint32 brake int32 front_steer -int32 rear_steer \ No newline at end of file +int32 rear_steer diff --git a/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg b/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg index 79857e9..4007fea 100644 --- a/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg +++ b/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg @@ -1,2 +1,2 @@ builtin_interfaces/Time stamp -bool avoid_stationary_locking \ No newline at end of file +bool avoid_stationary_locking diff --git a/autoware_vehicle_msgs/msg/SteeringReport.msg b/autoware_vehicle_msgs/msg/SteeringReport.msg index 5f57e40..6c13fbf 100644 --- a/autoware_vehicle_msgs/msg/SteeringReport.msg +++ b/autoware_vehicle_msgs/msg/SteeringReport.msg @@ -1,2 +1,2 @@ builtin_interfaces/Time stamp -float32 steering_tire_angle \ No newline at end of file +float32 steering_tire_angle diff --git a/autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg b/autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg index 9b44e9f..e859fc5 100644 --- a/autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg +++ b/autoware_vehicle_msgs/msg/TurnIndicatorsCommand.msg @@ -4,4 +4,4 @@ uint8 ENABLE_LEFT = 2 uint8 ENABLE_RIGHT = 3 builtin_interfaces/Time stamp -uint8 command \ No newline at end of file +uint8 command diff --git a/autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg b/autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg index 503423d..f1ba0d8 100644 --- a/autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg +++ b/autoware_vehicle_msgs/msg/TurnIndicatorsReport.msg @@ -3,4 +3,4 @@ uint8 ENABLE_LEFT = 2 uint8 ENABLE_RIGHT = 3 builtin_interfaces/Time stamp -uint8 report \ No newline at end of file +uint8 report diff --git a/autoware_vehicle_msgs/msg/VehicleKinematicState.msg b/autoware_vehicle_msgs/msg/VehicleKinematicState.msg index fb345a8..950c75f 100644 --- a/autoware_vehicle_msgs/msg/VehicleKinematicState.msg +++ b/autoware_vehicle_msgs/msg/VehicleKinematicState.msg @@ -1,3 +1,3 @@ std_msgs/Header header autoware_planning_msgs/TrajectoryPoint state -geometry_msgs/Transform delta \ No newline at end of file +geometry_msgs/Transform delta diff --git a/autoware_vehicle_msgs/msg/VehicleOdometry.msg b/autoware_vehicle_msgs/msg/VehicleOdometry.msg index 6a75c2a..7ffcd83 100644 --- a/autoware_vehicle_msgs/msg/VehicleOdometry.msg +++ b/autoware_vehicle_msgs/msg/VehicleOdometry.msg @@ -1,4 +1,4 @@ builtin_interfaces/Time stamp float32 velocity_mps float32 front_wheel_angle_rad -float32 rear_wheel_angle_rad \ No newline at end of file +float32 rear_wheel_angle_rad diff --git a/autoware_vehicle_msgs/msg/VehicleStateCommand.msg b/autoware_vehicle_msgs/msg/VehicleStateCommand.msg index c9f8415..cd4fe45 100644 --- a/autoware_vehicle_msgs/msg/VehicleStateCommand.msg +++ b/autoware_vehicle_msgs/msg/VehicleStateCommand.msg @@ -29,4 +29,4 @@ uint8 wiper uint8 gear uint8 mode bool hand_brake -bool horn \ No newline at end of file +bool horn diff --git a/autoware_vehicle_msgs/msg/VehicleStateReport.msg b/autoware_vehicle_msgs/msg/VehicleStateReport.msg index ecdda99..bffa865 100644 --- a/autoware_vehicle_msgs/msg/VehicleStateReport.msg +++ b/autoware_vehicle_msgs/msg/VehicleStateReport.msg @@ -27,4 +27,4 @@ uint8 wiper uint8 gear uint8 mode bool hand_brake -bool horn \ No newline at end of file +bool horn diff --git a/autoware_vehicle_msgs/msg/VelocityReport.msg b/autoware_vehicle_msgs/msg/VelocityReport.msg index 9b6b4be..ca99fc4 100644 --- a/autoware_vehicle_msgs/msg/VelocityReport.msg +++ b/autoware_vehicle_msgs/msg/VelocityReport.msg @@ -1,4 +1,4 @@ std_msgs/Header header float32 longitudinal_velocity float32 lateral_velocity -float32 heading_rate \ No newline at end of file +float32 heading_rate diff --git a/autoware_vehicle_msgs/msg/WheelEncoder.msg b/autoware_vehicle_msgs/msg/WheelEncoder.msg index c1bd490..edbfbf1 100644 --- a/autoware_vehicle_msgs/msg/WheelEncoder.msg +++ b/autoware_vehicle_msgs/msg/WheelEncoder.msg @@ -1,2 +1,2 @@ std_msgs/Header header -float32 speed_mps \ No newline at end of file +float32 speed_mps diff --git a/autoware_vehicle_msgs/msg/WipersCommand.msg b/autoware_vehicle_msgs/msg/WipersCommand.msg index 090fd91..9ebfe08 100644 --- a/autoware_vehicle_msgs/msg/WipersCommand.msg +++ b/autoware_vehicle_msgs/msg/WipersCommand.msg @@ -15,4 +15,4 @@ uint8 ENABLE_INT_10 = 13 uint8 ENABLE_CLEAN = 14 builtin_interfaces/Time stamp -uint8 command \ No newline at end of file +uint8 command diff --git a/autoware_vehicle_msgs/msg/WipersReport.msg b/autoware_vehicle_msgs/msg/WipersReport.msg index 1d237de..678cdb4 100644 --- a/autoware_vehicle_msgs/msg/WipersReport.msg +++ b/autoware_vehicle_msgs/msg/WipersReport.msg @@ -14,4 +14,4 @@ uint8 ENABLE_INT_10 = 13 uint8 ENABLE_CLEAN = 14 builtin_interfaces/Time stamp -uint8 report \ No newline at end of file +uint8 report diff --git a/autoware_vehicle_msgs/package.xml b/autoware_vehicle_msgs/package.xml index 946b611..e2d992c 100644 --- a/autoware_vehicle_msgs/package.xml +++ b/autoware_vehicle_msgs/package.xml @@ -25,4 +25,3 @@ ament_cmake - From b7b1f082f76fe69c3e73dbf775e45729341cd350 Mon Sep 17 00:00:00 2001 From: beginningfan Date: Mon, 11 Dec 2023 17:32:39 +0800 Subject: [PATCH 4/5] fix(autoware_vehicle_msgs): remove msgs unused Signed-off-by: beginningfan --- autoware_vehicle_msgs/CMakeLists.txt | 15 --------- .../msg/HandBrakeCommand.msg | 2 -- autoware_vehicle_msgs/msg/HandBrakeReport.msg | 2 -- .../msg/HazardLightsCommand.msg | 2 +- .../msg/HazardLightsReport.msg | 2 +- .../msg/HeadlightsCommand.msg | 7 ---- .../msg/HeadlightsReport.msg | 6 ---- autoware_vehicle_msgs/msg/HornCommand.msg | 2 -- autoware_vehicle_msgs/msg/HornReport.msg | 2 -- .../msg/RawControlCommand.msg | 6 ---- .../msg/StationaryLockingCommand.msg | 2 -- .../msg/VehicleControlCommand.msg | 5 --- .../msg/VehicleKinematicState.msg | 3 -- autoware_vehicle_msgs/msg/VehicleOdometry.msg | 2 +- .../msg/VehicleStateCommand.msg | 32 ------------------- .../msg/VehicleStateReport.msg | 30 ----------------- autoware_vehicle_msgs/msg/WheelEncoder.msg | 2 -- autoware_vehicle_msgs/msg/WipersCommand.msg | 18 ----------- autoware_vehicle_msgs/msg/WipersReport.msg | 17 ---------- 19 files changed, 3 insertions(+), 154 deletions(-) delete mode 100644 autoware_vehicle_msgs/msg/HandBrakeCommand.msg delete mode 100644 autoware_vehicle_msgs/msg/HandBrakeReport.msg delete mode 100644 autoware_vehicle_msgs/msg/HeadlightsCommand.msg delete mode 100644 autoware_vehicle_msgs/msg/HeadlightsReport.msg delete mode 100644 autoware_vehicle_msgs/msg/HornCommand.msg delete mode 100644 autoware_vehicle_msgs/msg/HornReport.msg delete mode 100644 autoware_vehicle_msgs/msg/RawControlCommand.msg delete mode 100644 autoware_vehicle_msgs/msg/StationaryLockingCommand.msg delete mode 100644 autoware_vehicle_msgs/msg/VehicleControlCommand.msg delete mode 100644 autoware_vehicle_msgs/msg/VehicleKinematicState.msg delete mode 100644 autoware_vehicle_msgs/msg/VehicleStateCommand.msg delete mode 100644 autoware_vehicle_msgs/msg/VehicleStateReport.msg delete mode 100644 autoware_vehicle_msgs/msg/WheelEncoder.msg delete mode 100644 autoware_vehicle_msgs/msg/WipersCommand.msg delete mode 100644 autoware_vehicle_msgs/msg/WipersReport.msg diff --git a/autoware_vehicle_msgs/CMakeLists.txt b/autoware_vehicle_msgs/CMakeLists.txt index acf49bc..76e4bed 100644 --- a/autoware_vehicle_msgs/CMakeLists.txt +++ b/autoware_vehicle_msgs/CMakeLists.txt @@ -14,28 +14,13 @@ rosidl_generate_interfaces(${PROJECT_NAME} "msg/Engage.msg" "msg/GearCommand.msg" "msg/GearReport.msg" - "msg/HandBrakeCommand.msg" - "msg/HandBrakeReport.msg" "msg/HazardLightsCommand.msg" "msg/HazardLightsReport.msg" - "msg/HeadlightsCommand.msg" - "msg/HeadlightsReport.msg" - "msg/HornCommand.msg" - "msg/HornReport.msg" - "msg/RawControlCommand.msg" - "msg/StationaryLockingCommand.msg" "msg/SteeringReport.msg" "msg/TurnIndicatorsCommand.msg" "msg/TurnIndicatorsReport.msg" - "msg/VehicleControlCommand.msg" - "msg/VehicleKinematicState.msg" "msg/VehicleOdometry.msg" - "msg/VehicleStateCommand.msg" - "msg/VehicleStateReport.msg" "msg/VelocityReport.msg" - "msg/WheelEncoder.msg" - "msg/WipersCommand.msg" - "msg/WipersReport.msg" "srv/ControlModeCommand.srv" DEPENDENCIES "autoware_planning_msgs" diff --git a/autoware_vehicle_msgs/msg/HandBrakeCommand.msg b/autoware_vehicle_msgs/msg/HandBrakeCommand.msg deleted file mode 100644 index a2b1784..0000000 --- a/autoware_vehicle_msgs/msg/HandBrakeCommand.msg +++ /dev/null @@ -1,2 +0,0 @@ -builtin_interfaces/Time stamp -bool active diff --git a/autoware_vehicle_msgs/msg/HandBrakeReport.msg b/autoware_vehicle_msgs/msg/HandBrakeReport.msg deleted file mode 100644 index 311341c..0000000 --- a/autoware_vehicle_msgs/msg/HandBrakeReport.msg +++ /dev/null @@ -1,2 +0,0 @@ -builtin_interfaces/Time stamp -bool report diff --git a/autoware_vehicle_msgs/msg/HazardLightsCommand.msg b/autoware_vehicle_msgs/msg/HazardLightsCommand.msg index 8bd5a9d..714de74 100644 --- a/autoware_vehicle_msgs/msg/HazardLightsCommand.msg +++ b/autoware_vehicle_msgs/msg/HazardLightsCommand.msg @@ -3,4 +3,4 @@ uint8 DISABLE = 1 uint8 ENABLE = 2 builtin_interfaces/Time stamp -uint8 command +uint8 command \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HazardLightsReport.msg b/autoware_vehicle_msgs/msg/HazardLightsReport.msg index c64d225..e72099b 100644 --- a/autoware_vehicle_msgs/msg/HazardLightsReport.msg +++ b/autoware_vehicle_msgs/msg/HazardLightsReport.msg @@ -2,4 +2,4 @@ uint8 DISABLE = 1 uint8 ENABLE = 2 builtin_interfaces/Time stamp -uint8 report +uint8 report \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/HeadlightsCommand.msg b/autoware_vehicle_msgs/msg/HeadlightsCommand.msg deleted file mode 100644 index 1e33d09..0000000 --- a/autoware_vehicle_msgs/msg/HeadlightsCommand.msg +++ /dev/null @@ -1,7 +0,0 @@ -uint8 NO_COMMAND = 0 -uint8 DISABLE = 1 -uint8 ENABLE_LOW = 2 -uint8 ENABLE_HIGH = 3 - -builtin_interfaces/Time stamp -uint8 command diff --git a/autoware_vehicle_msgs/msg/HeadlightsReport.msg b/autoware_vehicle_msgs/msg/HeadlightsReport.msg deleted file mode 100644 index d9df7ee..0000000 --- a/autoware_vehicle_msgs/msg/HeadlightsReport.msg +++ /dev/null @@ -1,6 +0,0 @@ -uint8 DISABLE = 1 -uint8 ENABLE_LOW = 2 -uint8 ENABLE_HIGH = 3 - -builtin_interfaces/Time stamp -uint8 report diff --git a/autoware_vehicle_msgs/msg/HornCommand.msg b/autoware_vehicle_msgs/msg/HornCommand.msg deleted file mode 100644 index a2b1784..0000000 --- a/autoware_vehicle_msgs/msg/HornCommand.msg +++ /dev/null @@ -1,2 +0,0 @@ -builtin_interfaces/Time stamp -bool active diff --git a/autoware_vehicle_msgs/msg/HornReport.msg b/autoware_vehicle_msgs/msg/HornReport.msg deleted file mode 100644 index 311341c..0000000 --- a/autoware_vehicle_msgs/msg/HornReport.msg +++ /dev/null @@ -1,2 +0,0 @@ -builtin_interfaces/Time stamp -bool report diff --git a/autoware_vehicle_msgs/msg/RawControlCommand.msg b/autoware_vehicle_msgs/msg/RawControlCommand.msg deleted file mode 100644 index e126d8a..0000000 --- a/autoware_vehicle_msgs/msg/RawControlCommand.msg +++ /dev/null @@ -1,6 +0,0 @@ -builtin_interfaces/Time stamp -uint8 command -uint32 throttle -uint32 brake -int32 front_steer -int32 rear_steer diff --git a/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg b/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg deleted file mode 100644 index 4007fea..0000000 --- a/autoware_vehicle_msgs/msg/StationaryLockingCommand.msg +++ /dev/null @@ -1,2 +0,0 @@ -builtin_interfaces/Time stamp -bool avoid_stationary_locking diff --git a/autoware_vehicle_msgs/msg/VehicleControlCommand.msg b/autoware_vehicle_msgs/msg/VehicleControlCommand.msg deleted file mode 100644 index 3728ccd..0000000 --- a/autoware_vehicle_msgs/msg/VehicleControlCommand.msg +++ /dev/null @@ -1,5 +0,0 @@ -builtin_interfaces/Time stamp -float32 long_accel_mps2 -float32 velocity_mps -float32 front_wheel_angle_rad -float32 rear_wheel_angle_rad diff --git a/autoware_vehicle_msgs/msg/VehicleKinematicState.msg b/autoware_vehicle_msgs/msg/VehicleKinematicState.msg deleted file mode 100644 index 950c75f..0000000 --- a/autoware_vehicle_msgs/msg/VehicleKinematicState.msg +++ /dev/null @@ -1,3 +0,0 @@ -std_msgs/Header header -autoware_planning_msgs/TrajectoryPoint state -geometry_msgs/Transform delta diff --git a/autoware_vehicle_msgs/msg/VehicleOdometry.msg b/autoware_vehicle_msgs/msg/VehicleOdometry.msg index 7ffcd83..6a75c2a 100644 --- a/autoware_vehicle_msgs/msg/VehicleOdometry.msg +++ b/autoware_vehicle_msgs/msg/VehicleOdometry.msg @@ -1,4 +1,4 @@ builtin_interfaces/Time stamp float32 velocity_mps float32 front_wheel_angle_rad -float32 rear_wheel_angle_rad +float32 rear_wheel_angle_rad \ No newline at end of file diff --git a/autoware_vehicle_msgs/msg/VehicleStateCommand.msg b/autoware_vehicle_msgs/msg/VehicleStateCommand.msg deleted file mode 100644 index cd4fe45..0000000 --- a/autoware_vehicle_msgs/msg/VehicleStateCommand.msg +++ /dev/null @@ -1,32 +0,0 @@ -uint8 BLINKER_NO_COMMAND = 0 -uint8 BLINKER_OFF = 1 -uint8 BLINKER_LEFT = 2 -uint8 BLINKER_RIGHT = 3 -uint8 BLINKER_HAZARD = 4 -uint8 HEADLIGHT_NO_COMMAND = 0 -uint8 HEADLIGHT_OFF = 1 -uint8 HEADLIGHT_ON = 2 -uint8 HEADLIGHT_HIGH = 3 -uint8 WIPER_NO_COMMAND = 0 -uint8 WIPER_OFF = 1 -uint8 WIPER_LOW = 2 -uint8 WIPER_HIGH = 3 -uint8 WIPER_CLEAN = 14 -uint8 GEAR_NO_COMMAND = 0 -uint8 GEAR_DRIVE = 1 -uint8 GEAR_REVERSE = 2 -uint8 GEAR_PARK = 3 -uint8 GEAR_LOW = 4 -uint8 GEAR_NEUTRAL = 5 -uint8 MODE_NO_COMMAND = 0 -uint8 MODE_AUTONOMOUS = 1 -uint8 MODE_MANUAL = 2 - -builtin_interfaces/Time stamp -uint8 blinker -uint8 headlight -uint8 wiper -uint8 gear -uint8 mode -bool hand_brake -bool horn diff --git a/autoware_vehicle_msgs/msg/VehicleStateReport.msg b/autoware_vehicle_msgs/msg/VehicleStateReport.msg deleted file mode 100644 index bffa865..0000000 --- a/autoware_vehicle_msgs/msg/VehicleStateReport.msg +++ /dev/null @@ -1,30 +0,0 @@ -uint8 BLINKER_OFF = 1 -uint8 BLINKER_LEFT = 2 -uint8 BLINKER_RIGHT = 3 -uint8 BLINKER_HAZARD = 4 -uint8 HEADLIGHT_OFF = 1 -uint8 HEADLIGHT_ON = 2 -uint8 HEADLIGHT_HIGH = 3 -uint8 WIPER_OFF = 1 -uint8 WIPER_LOW = 2 -uint8 WIPER_HIGH = 3 -uint8 WIPER_CLEAN = 14 -uint8 GEAR_DRIVE = 1 -uint8 GEAR_REVERSE = 2 -uint8 GEAR_PARK = 3 -uint8 GEAR_LOW = 4 -uint8 GEAR_NEUTRAL = 5 -uint8 MODE_AUTONOMOUS = 1 -uint8 MODE_MANUAL = 2 -uint8 MODE_DISENGAGED = 3 -uint8 MODE_NOT_READY = 4 - -builtin_interfaces/Time stamp -uint8 fuel -uint8 blinker -uint8 headlight -uint8 wiper -uint8 gear -uint8 mode -bool hand_brake -bool horn diff --git a/autoware_vehicle_msgs/msg/WheelEncoder.msg b/autoware_vehicle_msgs/msg/WheelEncoder.msg deleted file mode 100644 index edbfbf1..0000000 --- a/autoware_vehicle_msgs/msg/WheelEncoder.msg +++ /dev/null @@ -1,2 +0,0 @@ -std_msgs/Header header -float32 speed_mps diff --git a/autoware_vehicle_msgs/msg/WipersCommand.msg b/autoware_vehicle_msgs/msg/WipersCommand.msg deleted file mode 100644 index 9ebfe08..0000000 --- a/autoware_vehicle_msgs/msg/WipersCommand.msg +++ /dev/null @@ -1,18 +0,0 @@ -uint8 NO_COMMAND = 0 -uint8 DISABLE = 1 -uint8 ENABLE_LOW = 2 -uint8 ENABLE_HIGH = 3 -uint8 ENABLE_INT_1 = 4 -uint8 ENABLE_INT_2 = 5 -uint8 ENABLE_INT_3 = 6 -uint8 ENABLE_INT_4 = 7 -uint8 ENABLE_INT_5 = 8 -uint8 ENABLE_INT_6 = 9 -uint8 ENABLE_INT_7 = 10 -uint8 ENABLE_INT_8 = 11 -uint8 ENABLE_INT_9 = 12 -uint8 ENABLE_INT_10 = 13 -uint8 ENABLE_CLEAN = 14 - -builtin_interfaces/Time stamp -uint8 command diff --git a/autoware_vehicle_msgs/msg/WipersReport.msg b/autoware_vehicle_msgs/msg/WipersReport.msg deleted file mode 100644 index 678cdb4..0000000 --- a/autoware_vehicle_msgs/msg/WipersReport.msg +++ /dev/null @@ -1,17 +0,0 @@ -uint8 DISABLE = 1 -uint8 ENABLE_LOW = 2 -uint8 ENABLE_HIGH = 3 -uint8 ENABLE_INT_1 = 4 -uint8 ENABLE_INT_2 = 5 -uint8 ENABLE_INT_3 = 6 -uint8 ENABLE_INT_4 = 7 -uint8 ENABLE_INT_5 = 8 -uint8 ENABLE_INT_6 = 9 -uint8 ENABLE_INT_7 = 10 -uint8 ENABLE_INT_8 = 11 -uint8 ENABLE_INT_9 = 12 -uint8 ENABLE_INT_10 = 13 -uint8 ENABLE_CLEAN = 14 - -builtin_interfaces/Time stamp -uint8 report From aea736e24cc8df4d826b4cb127ca661269477564 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 09:34:44 +0000 Subject: [PATCH 5/5] style(pre-commit): autofix --- autoware_vehicle_msgs/msg/HazardLightsCommand.msg | 2 +- autoware_vehicle_msgs/msg/HazardLightsReport.msg | 2 +- autoware_vehicle_msgs/msg/VehicleOdometry.msg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autoware_vehicle_msgs/msg/HazardLightsCommand.msg b/autoware_vehicle_msgs/msg/HazardLightsCommand.msg index 714de74..8bd5a9d 100644 --- a/autoware_vehicle_msgs/msg/HazardLightsCommand.msg +++ b/autoware_vehicle_msgs/msg/HazardLightsCommand.msg @@ -3,4 +3,4 @@ uint8 DISABLE = 1 uint8 ENABLE = 2 builtin_interfaces/Time stamp -uint8 command \ No newline at end of file +uint8 command diff --git a/autoware_vehicle_msgs/msg/HazardLightsReport.msg b/autoware_vehicle_msgs/msg/HazardLightsReport.msg index e72099b..c64d225 100644 --- a/autoware_vehicle_msgs/msg/HazardLightsReport.msg +++ b/autoware_vehicle_msgs/msg/HazardLightsReport.msg @@ -2,4 +2,4 @@ uint8 DISABLE = 1 uint8 ENABLE = 2 builtin_interfaces/Time stamp -uint8 report \ No newline at end of file +uint8 report diff --git a/autoware_vehicle_msgs/msg/VehicleOdometry.msg b/autoware_vehicle_msgs/msg/VehicleOdometry.msg index 6a75c2a..7ffcd83 100644 --- a/autoware_vehicle_msgs/msg/VehicleOdometry.msg +++ b/autoware_vehicle_msgs/msg/VehicleOdometry.msg @@ -1,4 +1,4 @@ builtin_interfaces/Time stamp float32 velocity_mps float32 front_wheel_angle_rad -float32 rear_wheel_angle_rad \ No newline at end of file +float32 rear_wheel_angle_rad