From b7b1f082f76fe69c3e73dbf775e45729341cd350 Mon Sep 17 00:00:00 2001 From: beginningfan Date: Mon, 11 Dec 2023 17:32:39 +0800 Subject: [PATCH] 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