Skip to content

Commit 05e5c07

Browse files
committed
Fixed minor formatting issues and typos
Signed-off-by: JakobPeintner <jakob.peintner@thi.de>
1 parent c599e93 commit 05e5c07

File tree

1 file changed

+26
-30
lines changed

1 file changed

+26
-30
lines changed

osi_object.proto

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -530,29 +530,27 @@ message MovingObject
530530
// describing a pedestrian in more detail.
531531
//
532532
message PedestrianAttributes {
533-
534533
// Position offset from the center of the bounding box to the current position
535534
// of the root point of the pedestrian skeleton model.
536535
//
537536
optional Vector3d bbcenter_to_root = 1;
538537

539-
// List of all bones of the pedestrian
538+
// List of all bones of the pedestrian.
540539
//
541540
// The number of bones may vary, based on the detail level of
542541
// the pedestrian model used. For example, some simulators will not include
543542
// detailed data about the hands of a pedestrian.
544543
//
545544
repeated Bone skeleton_data = 2;
546-
547-
//
548-
// \brief Bones in the skeleton of the pedestrian
545+
546+
//
547+
// \brief Bones in the skeleton of the pedestrian.
549548
//
550549
// Each point represents a joint, or otherwise important point in the skeleton
551550
// of a pedestrian. For example pelvis, knee or shoulder. The naming convention
552551
// should be followed for identifying bones.
553552
//
554553
message Bone {
555-
556554
// Bones are identified by their type, combined with which body side
557555
// they are on.
558556
//
@@ -569,41 +567,39 @@ message MovingObject
569567
// root point is used, all bones between that bone and the root also
570568
// need to be defined in order to create a complete chain!
571569
//
572-
// If information about bones are missing, they may be left empty. A complete
573-
// set of bones for the entire skeleton can't be expected!
570+
// If information about bones are missing, they may be left empty.
574571
//
575572
optional Type type = 1;
576573

577-
// Position of the bone
574+
// Position of the bone.
578575
//
579576
// Reference System is the root, defined by bbcenter_to_root
580577
// (\c PedestrianAttributes::bbcenter_to_root).
581578
//
582-
//
583579
optional Vector3d position = 2;
584580

585-
// Orientation of the bone
581+
// Orientation of the bone.
586582
//
587583
// Reference System is the root, defined by bbcenter_to_root
588584
// (\c PedestrianAttributes::bbcenter_to_root).
589585
//
590586
optional Orientation3d orientation = 3;
591587

592-
// Orientation of the bone
588+
// Orientation of the bone.
593589
//
594590
// Reference System is the root, defined by bbcenter_to_root
595591
// (\c PedestrianAttributes::bbcenter_to_root).
596592
//
597593
optional float length = 4;
598594

599-
// Determines if bones of a pedestrian are explicitly missing from the model.
595+
// Determines a bone is explicitly missing from the pedestrian model.
600596
//
601597
// In case a pedestrian has missing limbs this can be explicitly communicated
602598
// by setting this boolean to TRUE.
603599
//
604600
optional bool missing = 5;
605601

606-
// The type of the bone
602+
// The type of the bone.
607603
//
608604
// \note Bone of each type can be assigned, or left empty depending
609605
// on the desired level of detail, or present data. However, if a bone is
@@ -612,8 +608,7 @@ message MovingObject
612608
//
613609
// \image html OSI_PedestrianModelHierarchy.jpg
614610
//
615-
enum Type {
616-
611+
enum Type {
617612
// Root point of the pedestrian. Defined by bbcenter_to_root
618613
// (\c PedestrianAttributes::bbcenter_to_root).
619614
//
@@ -639,58 +634,59 @@ message MovingObject
639634
//
640635
TYPE_HEAD = 5;
641636

642-
// Bone defines one of the shoulders.
637+
// Bone defines the left shoulder.
643638
//
644639
TYPE_SHOULDER_L = 6;
645640

646-
// Bone defines one of the shoulders.
641+
// Bone defines the right shoulder.
647642
//
648643
TYPE_SHOULDER_R = 7;
649644

650-
// Bone defines one of the upper arms.
645+
// Bone defines the left upper arm.
651646
//
652647
TYPE_UPPER_ARM_L = 8;
653648

654-
// Bone defines one of the upper arms.
649+
// Bone defines the right upper arm.
655650
//
656651
TYPE_UPPER_ARM_R = 9;
657652

658-
// Bone defines one of the forearms.
653+
// Bone defines the left forearm.
659654
//
660655
TYPE_LOWER_ARM_L = 10;
661656

662-
// Bone defines one of the forearms.
657+
// Bone defines the right forearm.
663658
//
664659
TYPE_LOWER_ARM_R = 11;
665660

666-
// Bone defines one of the hands.
661+
// Bone defines the left hand.
667662
//
668663
TYPE_FULL_HAND_L = 12;
669664

670-
// Bone defines one of the hands.
665+
// Bone defines the right hand.
671666
//
672667
TYPE_FULL_HAND_R = 13;
673668

674-
// Bone defines one of the thighs.
669+
// Bone defines the left thigh.
675670
//
676671
TYPE_UPPER_LEG_L = 14;
677-
// Bone defines one of the thighs.
672+
673+
// Bone defines the right thigh.
678674
//
679675
TYPE_UPPER_LEG_R = 15;
680676

681-
// Bone defines one of the shins.
677+
// Bone defines the left shin.
682678
//
683679
TYPE_LOWER_LEG_L = 16;
684680

685-
// Bone defines one of the shins.
681+
// Bone defines the right shin.
686682
//
687683
TYPE_LOWER_LEG_R = 17;
688684

689-
// Bone defines one of the feet.
685+
// Bone defines the left foot.
690686
//
691687
TYPE_FULL_FOOT_L = 18;
692688

693-
// Bone defines one of the feet.
689+
// Bone defines the right foot.
694690
//
695691
TYPE_FULL_FOOT_R = 19;
696692
}

0 commit comments

Comments
 (0)