Skip to content

Commit

Permalink
feat(autoware_adapi_v1_msgs): add object recognition msg (#25)
Browse files Browse the repository at this point in the history
* add perception message for object recognition

Signed-off-by: tkhmy <[email protected]>

* use the correct msg

Signed-off-by: tkhmy <[email protected]>

* change naming

Signed-off-by: tkhmy <[email protected]>

* fix naming

Signed-off-by: tkhmy <[email protected]>

* change shape

Signed-off-by: tkhmy <[email protected]>

* add missing data

Signed-off-by: tkhmy <[email protected]>

* change naming

Signed-off-by: tkhmy <[email protected]>

* change naming

Signed-off-by: tkhmy <[email protected]>

* change shape type

Signed-off-by: tkhmy <[email protected]>

---------

Signed-off-by: tkhmy <[email protected]>
  • Loading branch information
tkhmy authored May 10, 2023
1 parent 62da7d2 commit bc9f865
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autoware_adapi_v1_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ rosidl_generate_interfaces(${PROJECT_NAME}
operation_mode/srv/ChangeOperationMode.srv
motion/msg/MotionState.msg
motion/srv/AcceptStart.srv
perception/msg/DynamicObject.msg
perception/msg/DynamicObjectArray.msg
perception/msg/DynamicObjectKinematics.msg
perception/msg/DynamicObjectPath.msg
perception/msg/ObjectClassification.msg
planning/msg/SteeringFactor.msg
planning/msg/SteeringFactorArray.msg
planning/msg/VelocityFactor.msg
Expand All @@ -34,6 +39,8 @@ rosidl_generate_interfaces(${PROJECT_NAME}
builtin_interfaces
std_msgs
geometry_msgs
shape_msgs
unique_identifier_msgs
)

ament_auto_package()
2 changes: 2 additions & 0 deletions autoware_adapi_v1_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@

<depend>builtin_interfaces</depend>
<depend>geometry_msgs</depend>
<depend>shape_msgs</depend>
<depend>std_msgs</depend>
<depend>unique_identifier_msgs</depend>

<exec_depend>rosidl_default_runtime</exec_depend>

Expand Down
5 changes: 5 additions & 0 deletions autoware_adapi_v1_msgs/perception/msg/DynamicObject.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
unique_identifier_msgs/UUID id
float64 existence_probability
autoware_adapi_v1_msgs/ObjectClassification[] classification
autoware_adapi_v1_msgs/DynamicObjectKinematics kinematics
shape_msgs/SolidPrimitive shape
2 changes: 2 additions & 0 deletions autoware_adapi_v1_msgs/perception/msg/DynamicObjectArray.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
std_msgs/Header header
autoware_adapi_v1_msgs/DynamicObject[] objects
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
geometry_msgs/Pose pose
geometry_msgs/Twist twist
geometry_msgs/Accel accel

autoware_adapi_v1_msgs/DynamicObjectPath[] predicted_paths
3 changes: 3 additions & 0 deletions autoware_adapi_v1_msgs/perception/msg/DynamicObjectPath.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
geometry_msgs/Pose[] path
builtin_interfaces/Duration time_step
float64 confidence
11 changes: 11 additions & 0 deletions autoware_adapi_v1_msgs/perception/msg/ObjectClassification.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uint8 UNKNOWN=0
uint8 CAR=1
uint8 TRUCK=2
uint8 BUS=3
uint8 TRAILER = 4
uint8 MOTORCYCLE = 5
uint8 BICYCLE = 6
uint8 PEDESTRIAN = 7

uint8 label
float64 probability

0 comments on commit bc9f865

Please sign in to comment.