Skip to content

Commit

Permalink
feat(autoware_perception_msgs): add PredictedObjects msgs (#63)
Browse files Browse the repository at this point in the history
* feat(autoware_perception_msgs): add PredictedObjects msgs

Signed-off-by: beginningfan <beginning.fan@autocore.ai>

* style(pre-commit): autofix

* feat(autoware_perception_msgs): fix conflicting msgs

Signed-off-by: beginningfan <beginning.fan@autocore.ai>

---------

Signed-off-by: beginningfan <beginning.fan@autocore.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com>
  • Loading branch information
3 people committed Jul 19, 2023
1 parent 9de9a00 commit 993addf
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 0 deletions.
10 changes: 10 additions & 0 deletions autoware_perception_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,21 @@ find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
"msg/ObjectClassification.msg"
"msg/PredictedObject.msg"
"msg/PredictedObjectKinematics.msg"
"msg/PredictedObjects.msg"
"msg/PredictedPath.msg"
"msg/Shape.msg"
"msg/TrafficSignalElement.msg"
"msg/TrafficSignal.msg"
"msg/TrafficSignalArray.msg"

DEPENDENCIES
std_msgs
geometry_msgs
builtin_interfaces
unique_identifier_msgs
)

ament_auto_package()
11 changes: 11 additions & 0 deletions autoware_perception_msgs/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
float32 probability
4 changes: 4 additions & 0 deletions autoware_perception_msgs/msg/PredictedObject.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
unique_identifier_msgs/UUID id
ObjectClassification classification
PredictedObjectKinematics kinematics
Shape shape
4 changes: 4 additions & 0 deletions autoware_perception_msgs/msg/PredictedObjectKinematics.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
geometry_msgs/PoseWithCovariance initial_pose_with_covariance
geometry_msgs/TwistWithCovariance initial_twist_with_covariance
geometry_msgs/AccelWithCovariance initial_acceleration_with_covariance
PredictedPath[100] predicted_paths
2 changes: 2 additions & 0 deletions autoware_perception_msgs/msg/PredictedObjects.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
std_msgs/Header header
PredictedObject[] objects
3 changes: 3 additions & 0 deletions autoware_perception_msgs/msg/PredictedPath.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
geometry_msgs/Pose[100] path
builtin_interfaces/Duration time_step
float32 confidence
7 changes: 7 additions & 0 deletions autoware_perception_msgs/msg/Shape.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
uint8 BOUNDING_BOX=0
uint8 CYLINDER=1
uint8 POLYGON=2

uint8 type
geometry_msgs/Polygon footprint
geometry_msgs/Vector3 dimensions
3 changes: 3 additions & 0 deletions autoware_perception_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<buildtool_depend>rosidl_default_generators</buildtool_depend>

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

<exec_depend>rosidl_default_runtime</exec_depend>

Expand Down

0 comments on commit 993addf

Please sign in to comment.