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_perception_msgs): add PredictedObjects msgs #63

Merged
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
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
Loading