Skip to content

Commit c6d5b4e

Browse files
committed
add moving direction to moving object classification
Signed-off-by: Schloemicher, Thomas AVL,AT <thomas.schloemicher@avl.com>
1 parent 358c2c7 commit c6d5b4e

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

osi_object.proto

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,35 @@ message MovingObject
572572
//
573573
// \note OSI uses singular instead of plural for repeated field names.
574574
//
575-
repeated double assigned_lane_percentage = 2;
575+
repeated double assigned_lane_percentage = 2;
576+
577+
// Classification of the general moving direction of a moving object depeding on the relative yaw orientation between host vehicle and moving object.
578+
// TODOD Maybe add grafic to illustrate the situation with relative yaw angle
579+
//
580+
optional MovingDirection moving_direction = 3;
581+
582+
enum MovingDirection
583+
{
584+
// Moving direction is unkown.
585+
//
586+
MOVING_DIRECTION_UNKOWN = 1;
587+
588+
// Moving object is moving in the same direction.
589+
//
590+
MOVING_DIRECTION_IN_SAME_DIRECTION = 2;
591+
592+
// Moving object is moving towards the host vehicle.
593+
//
594+
MOVING_DIRECTION_ONCOMING = 3;
595+
596+
// Moving object is crossing from left to right.
597+
//
598+
MOVING_DIRECTION_CROSSING_LEFT_TO_RIGHT = 4;
599+
600+
// Moving object is crossing from right to left.
601+
//
602+
MOVING_DIRECTION_CROSSING_RIGHT_TO_LEFT = 5;
603+
}
576604
}
577605

578606
//

0 commit comments

Comments
 (0)