Skip to content

Commit 2a157c3

Browse files
Added width and model_reference, corrected descriptions
1 parent a0388b6 commit 2a157c3

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

osi_object.proto

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,8 @@ message MovingObject
446446

447447
// \brief Detailed wheel data.
448448
// The focus is on the description of a wheel regarding the perceivable
449-
// information from the outside.
449+
// information from the outside.
450+
// It is not intended to be used for e.g. dynamic calculations.
450451
//
451452
message WheelData
452453
{
@@ -461,6 +462,7 @@ message MovingObject
461462
//
462463
// For example, on a standard 2-axle, 4-wheel car, the rear-right
463464
// wheel would be (axle=1, index=0).
465+
// This concept works also for twin tires.
464466
//
465467
optional uint32 index = 2;
466468

@@ -471,37 +473,53 @@ message MovingObject
471473
//
472474
optional Vector3d position = 3;
473475

474-
// Median radius of the wheels measured from a center of the wheel to
476+
// Median radius of the wheel measured from the center of the wheel to
475477
// the outer part of the tire.
476478
//
477479
//
478480
// Unit: m
479481
//
480482
optional double wheel_radius = 4;
481483

482-
// Radius of the rim measured from the center to the outer, visible part of the rim.
484+
// Median radius of the rim measured from the center to the outer, visible part of the rim.
483485
//
484486
// Unit: m
485487
//
486488
optional double rim_radius = 5;
489+
490+
// Median width of the tire.
491+
//
492+
// Unit: m
493+
//
494+
optional double width = 6;
487495

488496
// Orientation of the wheel.
489497
//
490498
// The reference system is the vehicle frame (center of bounding box).
491499
// Right-handed, x-axis shows into driving direction "forward".
492500
// Rough Approximation: The yaw-value shows the steering angle.
493501
//
494-
optional Orientation3d orientation = 6;
502+
optional Orientation3d orientation = 7;
495503

496504
// Rotation of the wheel around the axle.
505+
// The wheel frame is the reference system.
497506
//
498507
// Unit: Rad/s.
499-
// Counterclockwise is positive, clockwise negative.
500-
// The reference point / view perspective is from the mid of the axle.
501-
// If there is just one wheel centered in the mid of the axle (e.g. bicycle),
502-
// the wheel is treated as a right wheel.
503508
//
504-
optional double rotation_rate = 7;
509+
// Regarding positive or negative values, the right hand rule can be used around
510+
// the y-axis of the vehicle frame (helpful: perspective from the mid of the axis).
511+
// Clockwise is positive, counterclockwise negative.
512+
// If there is just one wheel centered in the mid of the vehicle frame/axle (e.g. bicycle),
513+
// the wheel is treated as it would be on the "right" side.
514+
//
515+
optional double rotation_rate = 8;
516+
517+
// Opaque reference of an associated 3D model of the wheel.
518+
//
519+
// \note It is implementation-specific how model_references are resolved to
520+
// 3d models.
521+
//
522+
optional string model_reference = 9;
505523
}
506524
}
507525

0 commit comments

Comments
 (0)