Skip to content

Move assigned_lane_id in osi_object.proto to VehicleClassification #368

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

Merged
merged 5 commits into from
Feb 12, 2021
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 osi_detectedobject.proto
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ message DetectedMovingObject
//
// Percentage value of the object width in the corresponding lane.
//
// \note DEPRECATED: Use assigned_lane_percentage in MovingObjectClassification
// instead.
//
// \rules
// is_greater_than_or_equal_to: 0
// is_less_than_or_equal_to: 100
Expand All @@ -201,6 +204,9 @@ message DetectedMovingObject
//
// Percentage value of the object width in the corresponding lane.
//
// \note DEPRECATED: Use assigned_lane_percentage in MovingObjectClassification
// instead.
//
// \rules
// is_greater_than_or_equal_to: 0
// is_less_than_or_equal_to: 100
Expand Down Expand Up @@ -309,6 +315,10 @@ message DetectedMovingObject
// [1] Patton, K. T. & Thibodeau, G. A. (2015). <em>Anatomy & Physiology</em>. 9th Edition. Elsevier. Missouri, U.S.A. ISBN 978-0-323-34139-4. p. 1229.
//
optional Orientation3d upper_body_pose = 5;

// Specific information about the classification of a moving object.
//
optional MovingObject.MovingObjectClassification moving_object_classification = 6;
}

// Definition of available reference points. Left/middle/right and
Expand Down
32 changes: 32 additions & 0 deletions osi_object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ message MovingObject
//
// \note OSI uses singular instead of plural for repeated field names.
//
// \note DEPRECATED: Use assigned_lane_id in MovingObjectClassification
// instead.
//
repeated Identifier assigned_lane_id = 4;

// Specific information about the vehicle.
Expand Down Expand Up @@ -352,6 +355,10 @@ message MovingObject
//
repeated StatePoint future_trajectory = 8;

// Specific information about the classification of the vehicle.
//
optional MovingObjectClassification moving_object_classification = 9;

// Definition of object types.
//
enum Type
Expand Down Expand Up @@ -543,6 +550,31 @@ message MovingObject
}
}

//
// \brief Information for the classification of moving objects regarding
// \c MovingObject (host or other).
//
message MovingObjectClassification
{
// The IDs of the lanes that this object is assigned to.
//
// \note Might be multiple if the object is switching lanes or moving from
// one lane into another following lane.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated Identifier assigned_lane_id = 1;

// Percentage value of the object width in the corresponding lane.
//
// \note Might be multiple if the object is switching lanes or moving from
// one lane into another following lane.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated double assigned_lane_percentage = 2;
}

//
// \brief Information for the classification of vehicles regarding
// \c MovingObject (host or other).
Expand Down