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

Move sensor specifics to DetectedItemHeader #708

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
56 changes: 28 additions & 28 deletions osi_detectedobject.proto
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,34 @@ message DetectedItemHeader
//
repeated Identifier sensor_id = 6;

// Additional data that is specific to radar sensors.
//
// \note Field needs not to be set if simulated sensor is not a radar
// sensor.
//
optional RadarSpecificObjectData radar_specifics = 100;

// Additional data that is specific to lidar sensors.
//
// \note Field needs not to be set if simulated sensor is not a lidar
// sensor.
//
optional LidarSpecificObjectData lidar_specifics = 101;

// Additional data that is specific to camera sensors.
//
// \note Field needs not to be set if simulated sensor is not a camera
// sensor.
//
optional CameraSpecificObjectData camera_specifics = 102;

// Additional data that is specific to ultrasonic sensors.
//
// \note Field needs not to be set if simulated sensor is not an ultrasonic
// sensor.
//
optional UltrasonicSpecificObjectData ultrasonic_specifics = 103;

// Definition of measurement states.
//
enum MeasurementState
Expand Down Expand Up @@ -221,34 +249,6 @@ message DetectedMovingObject
//
optional ColorDescription color_description = 9;

// Additional data that is specific to radar sensors.
//
// \note Field needs not to be set if simulated sensor is not a radar
// sensor.
//
optional RadarSpecificObjectData radar_specifics = 100;

// Additional data that is specific to lidar sensors.
//
// \note Field needs not to be set if simulated sensor is not a lidar
// sensor.
//
optional LidarSpecificObjectData lidar_specifics = 101;

// Additional data that is specific to camera sensors.
//
// \note Field needs not to be set if simulated sensor is not a camera
// sensor.
//
optional CameraSpecificObjectData camera_specifics = 102;

// Additional data that is specific to ultrasonic sensors.
//
// \note Field needs not to be set if simulated sensor is not an ultrasonic
// sensor.
//
optional UltrasonicSpecificObjectData ultrasonic_specifics = 103;

//
// \brief A candidate for a detected moving object as estimated by the
// sensor.
Expand Down