Skip to content

Commit

Permalink
refactor: remove unnecessary messages (#133)
Browse files Browse the repository at this point in the history
* remove ControlCommand.msg and ControlCommandStamped.msg

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* remove BatteryStatus.msg RawControlCommand.msg RawVehicleCommand.msg VehicleCommand.msg

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* remove traffic_light_recognition msgs

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* remove unnecessary autoware_planning_msgs

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* remove unnecessary build_depends

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* remove unnecessary autoware_system_msgs

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* remove autoware_lanelet2_msgs

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* fix map loader README

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* fix external_cmd_converter README

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* refactor: remove autoware_perception_msgs

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* refactor: remove unnecessary include files

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* fix: detection_by_tracker README

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* ci(pre-commit): autofix

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* refactor: remove autoware_vehicle_msgs

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* ci(pre-commit): autofix

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* ci(pre-commit): autofix

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

* fix: each messages

Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
1222-takeshi and pre-commit-ci[bot] authored Dec 8, 2021
1 parent feef2b5 commit 63eaad1
Show file tree
Hide file tree
Showing 40 changed files with 17 additions and 198 deletions.
8 changes: 4 additions & 4 deletions map/map_loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pointcloud_map_loader loads PointCloud file and publishes the map data as sensor

### Feature

lanelet2_map_loader loads Lanelet2 file and publishes the map data as autoware_lanelet2_msgs/MapBin message.
lanelet2_map_loader loads Lanelet2 file and publishes the map data as autoware_auto_mapping_msgs/HADMapBin message.
The node projects lan/lon coordinates into MGRS coordinates.

### How to run
Expand All @@ -31,23 +31,23 @@ The node projects lan/lon coordinates into MGRS coordinates.

### Published Topics

- ~output/lanelet2_map (autoware_lanelet2_msgs/MapBin) : Binary data of loaded Lanelet2 Map
- ~output/lanelet2_map (autoware_auto_mapping_msgs/HADMapBin) : Binary data of loaded Lanelet2 Map

---

## lanelet2_map_visualization

### Feature

lanelet2_map_visualization visualizes autoware_lanelet2_msgs/MapBin messages into visualization_msgs/MarkerArray.
lanelet2_map_visualization visualizes autoware_auto_mapping_msgs/HADMapBin messages into visualization_msgs/MarkerArray.

### How to Run

`ros2 run map_loader lanelet2_map_visualization`

### Subscribed Topics

- ~input/lanelet2_map (autoware_lanelet2_msgs/MapBin) : binary data of Lanelet2 Map
- ~input/lanelet2_map (autoware_auto_mapping_msgs/HADMapBin) : binary data of Lanelet2 Map

### Published Topics

Expand Down
2 changes: 0 additions & 2 deletions messages/autoware_control_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/GateMode.msg"
"msg/ControlCommand.msg"
"msg/ControlCommandStamped.msg"
"msg/ExternalCommandSelectorMode.msg"
"srv/ExternalCommandSelect.srv"
DEPENDENCIES
Expand Down
4 changes: 0 additions & 4 deletions messages/autoware_control_msgs/msg/ControlCommand.msg

This file was deleted.

2 changes: 0 additions & 2 deletions messages/autoware_control_msgs/msg/ControlCommandStamped.msg

This file was deleted.

28 changes: 0 additions & 28 deletions messages/autoware_lanelet2_msgs/CMakeLists.txt

This file was deleted.

13 changes: 0 additions & 13 deletions messages/autoware_lanelet2_msgs/msg/MapBin.msg

This file was deleted.

26 changes: 0 additions & 26 deletions messages/autoware_lanelet2_msgs/package.xml

This file was deleted.

10 changes: 0 additions & 10 deletions messages/autoware_perception_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,11 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/object_recognition/DetectedObjectsWithFeature.msg"
"msg/object_recognition/DynamicObject.msg"
"msg/object_recognition/DynamicObjectArray.msg"
"msg/object_recognition/DynamicObjectWithFeature.msg"
"msg/object_recognition/DynamicObjectWithFeatureArray.msg"
"msg/object_recognition/Feature.msg"
"msg/object_recognition/PredictedPath.msg"
"msg/object_recognition/Semantic.msg"
"msg/object_recognition/Shape.msg"
"msg/object_recognition/State.msg"
"msg/traffic_light_recognition/LampState.msg"
"msg/traffic_light_recognition/LookingTrafficLightState.msg"
"msg/traffic_light_recognition/TrafficLightStateWithJudge.msg"
"msg/traffic_light_recognition/TrafficLightRoi.msg"
"msg/traffic_light_recognition/TrafficLightRoiArray.msg"
"msg/traffic_light_recognition/TrafficLightState.msg"
"msg/traffic_light_recognition/TrafficLightStateArray.msg"
"msg/traffic_light_recognition/TrafficLightStateStamped.msg"
DEPENDENCIES
autoware_auto_perception_msgs
builtin_interfaces
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions messages/autoware_planning_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,12 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/IsAvoidancePossible.msg"
"msg/LaneChangeCommand.msg"
"msg/LaneChangeStatus.msg"
"msg/LaneSequence.msg"
"msg/LateralOffset.msg"
"msg/Path.msg"
"msg/PathChangeModule.msg"
"msg/PathChangeModuleArray.msg"
"msg/PathChangeModuleId.msg"
"msg/PathPoint.msg"
"msg/PathWithLaneId.msg"
"msg/PathPointWithLaneId.msg"
"msg/Route.msg"
"msg/RouteSection.msg"
"msg/Scenario.msg"
"msg/StopFactor.msg"
"msg/StopReason.msg"
Expand Down
1 change: 0 additions & 1 deletion messages/autoware_planning_msgs/msg/LaneSequence.msg

This file was deleted.

2 changes: 0 additions & 2 deletions messages/autoware_planning_msgs/msg/PathPointWithLaneId.msg

This file was deleted.

3 changes: 0 additions & 3 deletions messages/autoware_planning_msgs/msg/PathWithLaneId.msg

This file was deleted.

3 changes: 0 additions & 3 deletions messages/autoware_planning_msgs/msg/Route.msg

This file was deleted.

3 changes: 0 additions & 3 deletions messages/autoware_planning_msgs/msg/RouteSection.msg

This file was deleted.

6 changes: 2 additions & 4 deletions messages/autoware_system_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/AutowareState.msg"
"msg/AutowareVersion.msg"
"msg/HazardStatus.msg"
"msg/HazardStatusStamped.msg"
"msg/TimeoutNotification.msg"
"msg/EmergencyState.msg"
"msg/EmergencyStateStamped.msg"
"msg/HazardStatus.msg"
"msg/HazardStatusStamped.msg"
DEPENDENCIES
diagnostic_msgs
std_msgs
Expand Down
8 changes: 0 additions & 8 deletions messages/autoware_system_msgs/msg/AutowareVersion.msg

This file was deleted.

2 changes: 0 additions & 2 deletions messages/autoware_system_msgs/msg/TimeoutNotification.msg

This file was deleted.

4 changes: 0 additions & 4 deletions messages/autoware_vehicle_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/ActuationStatus.msg"
"msg/ActuationStatusStamped.msg"
"msg/BatteryStatus.msg"
"msg/Engage.msg"
"msg/VehicleCommand.msg"
"msg/Shift.msg"
"msg/ShiftStamped.msg"
"msg/ControlMode.msg"
"msg/TurnSignal.msg"
"msg/Steering.msg"
"msg/SteeringWheelStatusStamped.msg"
"msg/VehicleEmergencyStamped.msg"
"msg/RawVehicleCommand.msg"
"msg/RawControlCommand.msg"
"srv/UpdateAccelBrakeMap.srv"
DEPENDENCIES std_msgs geometry_msgs autoware_control_msgs
)
Expand Down
2 changes: 0 additions & 2 deletions messages/autoware_vehicle_msgs/msg/Engage.msg

This file was deleted.

4 changes: 0 additions & 4 deletions messages/autoware_vehicle_msgs/msg/RawControlCommand.msg

This file was deleted.

4 changes: 0 additions & 4 deletions messages/autoware_vehicle_msgs/msg/RawVehicleCommand.msg

This file was deleted.

4 changes: 0 additions & 4 deletions messages/autoware_vehicle_msgs/msg/VehicleCommand.msg

This file was deleted.

5 changes: 0 additions & 5 deletions messages/build_depends.repos

This file was deleted.

14 changes: 7 additions & 7 deletions perception/detection_by_tracker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ Simply looking at the overlap between the unknown object and the tracker does no

### Input

| Name | Type | Description |
| ------------------------- | -------------------------------------------------------------- | --------------- |
| `~/input/initial_objects` | `autoware_perception_msgs::msg::DynamicObjectWithFeatureArray` | unknown objects |
| `~/input/tracked_objects` | `autoware_perception_msgs::msg::TrackedObjects` | trackers |
| Name | Type | Description |
| ------------------------- | ----------------------------------------------------------- | --------------- |
| `~/input/initial_objects` | `autoware_perception_msgs::msg::DetectedObjectsWithFeature` | unknown objects |
| `~/input/tracked_objects` | `autoware_perception_msgs::msg::TrackedObjects` | trackers |

### Output

| Name | Type | Description |
| ---------- | -------------------------------------------------------------- | ----------- |
| `~/output` | `autoware_perception_msgs::msg::DynamicObjectWithFeatureArray` | objects |
| Name | Type | Description |
| ---------- | ----------------------------------------------------- | ----------- |
| `~/output` | `autoware_auto_perception_msgs::msg::DetectedObjects` | objects |

## Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include <autoware_auto_perception_msgs/msg/detected_objects.hpp>
#include <autoware_auto_perception_msgs/msg/tracked_objects.hpp>
#include <autoware_perception_msgs/msg/detected_objects_with_feature.hpp>
#include <autoware_perception_msgs/msg/dynamic_object_array.hpp>
#include <autoware_perception_msgs/msg/dynamic_object_with_feature_array.hpp>
#include <geometry_msgs/msg/pose_stamped.hpp>
#include <sensor_msgs/msg/point_cloud2.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <rclcpp/rclcpp.hpp>

#include <autoware_perception_msgs/msg/dynamic_object_with_feature_array.hpp>
#include <autoware_perception_msgs/msg/detected_objects_with_feature.hpp>
#include <sensor_msgs/msg/point_cloud2.hpp>

#include <memory>
Expand Down
1 change: 0 additions & 1 deletion perception/traffic_light_visualization/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<buildtool_depend>ament_cmake_auto</buildtool_depend>

<depend>autoware_auto_perception_msgs</depend>
<depend>autoware_lanelet2_msgs</depend>
<depend>cv_bridge</depend>
<depend>image_transport</depend>
<depend>lanelet2_extension</depend>
Expand Down
1 change: 0 additions & 1 deletion planning/behavior_path_planner/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<depend>autoware_auto_perception_msgs</depend>
<depend>autoware_auto_planning_msgs</depend>
<depend>autoware_auto_vehicle_msgs</depend>
<depend>autoware_lanelet2_msgs</depend>
<depend>autoware_planning_msgs</depend>
<depend>autoware_utils</depend>
<depend>behaviortree_cpp_v3</depend>
Expand Down
1 change: 0 additions & 1 deletion system/autoware_state_monitor/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<depend>tf2_geometry_msgs</depend>
<depend>tf2_ros</depend>

<exec_depend>autoware_lanelet2_msgs</exec_depend>
<exec_depend>autoware_perception_msgs</exec_depend>
<exec_depend>sensor_msgs</exec_depend>

Expand Down
6 changes: 3 additions & 3 deletions vehicle/external_cmd_converter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

## Output topics

| Name | Type | Description |
| ------------------- | --------------------------------------------------- | ------------------------------------------------------------------ |
| `~/out/control_cmd` | autoware_control_msgs::msg::AckermannControlCommand | ackermann control command converted from selected external command |
| Name | Type | Description |
| ------------------- | -------------------------------------------------------- | ------------------------------------------------------------------ |
| `~/out/control_cmd` | autoware_auto_control_msgs::msg::AckermannControlCommand | ackermann control command converted from selected external command |

## Parameters

Expand Down

0 comments on commit 63eaad1

Please sign in to comment.