Skip to content

Commit d4ef7a1

Browse files
ThomasNaderBMW0815-code
authored andcommitted
Rework wheel data position and orientation
Signed-off-by: Pierre R. Mai <pmai@pmsf.de> Signed-off-by: Schloemicher, Thomas AVL,AT <thomas.schloemicher@avl.com>
1 parent 58ef832 commit d4ef7a1

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

osi_object.proto

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ message MovingObject
455455
//
456456
repeated WheelData wheel_data = 7;
457457

458-
// \brief Information for a single wheel.
458+
// \brief Description of a single wheel.
459459
//
460460
message WheelData
461461
{
@@ -472,25 +472,27 @@ message MovingObject
472472
// wheel would be (axle=1, index=0).
473473
//
474474
optional uint32 index = 2;
475-
476-
// Steering angle with positive values indicating a clockwise
477-
// rotation about the z-axis. Must be zero for non-steering
478-
// wheels.
475+
476+
// Position of the wheel (geographical center of the wheel).
477+
// The reference system is the vehicle frame (center of bounding box).
478+
// Right-handed, x-axis shows into driving direction "forward".
479+
// Rough Approximation: The z-value shows the damping.
479480
//
480-
optional double steer_angle = 3;
481+
optional Vector3d position = 3;
481482

482-
// Rotation of the wheel about the axle in radians per second.
483+
// Orientation of the wheel.
484+
// The reference system is the vehicle frame (center of bounding box).
485+
// Right-handed, x-axis shows into driving direction "forward".
486+
// Rough Approximation: The yaw-value shows the steering angle.
483487
//
484-
optional double rotation_rate = 4;
488+
optional Orientation3d orientation = 4;
485489

486-
// Current rotation about the axle. Rotation angle
487-
// increases as the vehicle moves forward (x-positive) and
488-
// decreases as the vehicle moves backwards.
490+
// Rotation of the wheel around the axle.
489491
//
490-
// \note This value doesn't wrap but permanently increases or
491-
// decreases.
492+
// Unit: Rad/s.
493+
// Positive means, that the vehicle moves forward.
492494
//
493-
optional double rotation_angle = 5;
495+
optional double rotation_rate = 5;
494496
}
495497
}
496498

0 commit comments

Comments
 (0)