Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(autoware_adapi_v1_msgs): add detect area #29

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions autoware_adapi_v1_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
common/msg/ResponseStatus.msg
common/msg/Shape.msg
localization/msg/LocalizationInitializationState.msg
localization/srv/InitializeLocalization.srv
routing/msg/RouteState.msg
Expand All @@ -20,6 +21,8 @@ rosidl_generate_interfaces(${PROJECT_NAME}
operation_mode/srv/ChangeOperationMode.srv
motion/msg/MotionState.msg
motion/srv/AcceptStart.srv
planning/msg/PlanningArea.msg
planning/msg/PlanningAreaArray.msg
planning/msg/SteeringFactor.msg
planning/msg/SteeringFactorArray.msg
planning/msg/VelocityFactor.msg
Expand Down
12 changes: 12 additions & 0 deletions autoware_adapi_v1_msgs/common/msg/Shape.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# constants
uint8 UNKNOWN = 0
uint8 POLYGON = 1
uint8 CIRCLE = 2
uint8 PRISM = 3
uint8 CYLINDER = 4

# variables
uint8 shape
geometry_msgs/Pose pose # Pose of the object
geometry_msgs/Point[] points
float64 radius
12 changes: 12 additions & 0 deletions autoware_adapi_v1_msgs/planning/msg/PlanningArea.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# constants
uint16 BLIND_SPOT=1
uint16 CROSSWALK=2
uint16 DETECTION_AREA=3
uint16 INTERSECTION=4
uint16 MERGE_FROM_PRIVATE=5
uint16 NO_STOPPING_AREA=6
uint16 WALKWAY=7

# variables
uint16 type
autoware_adapi_v1_msgs/Shape shape
2 changes: 2 additions & 0 deletions autoware_adapi_v1_msgs/planning/msg/PlanningAreaArray.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
std_msgs/Header header
autoware_adapi_v1_msgs/PlanningArea[] areas