Skip to content

Commit e6bb092

Browse files
Peintnererpmai
authored andcommitted
Fix minor formatting issues and typos
Signed-off-by: Jakob Peintner <jakob.peintner@thi.de>
1 parent b83a605 commit e6bb092

File tree

1 file changed

+30
-32
lines changed

1 file changed

+30
-32
lines changed

osi_object.proto

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,30 +1094,30 @@ message MovingObject
10941094
// This is an extension to the \c MovingObject with additional information
10951095
// describing a pedestrian in more detail.
10961096
//
1097-
message PedestrianAttributes {
1098-
1097+
message PedestrianAttributes
1098+
{
10991099
// Position offset from the center of the bounding box to the current position
11001100
// of the root point of the pedestrian skeleton model.
11011101
//
11021102
optional Vector3d bbcenter_to_root = 1;
11031103

1104-
// List of all bones of the pedestrian
1104+
// List of all bones of the pedestrian.
11051105
//
11061106
// The number of bones may vary, based on the detail level of
11071107
// the pedestrian model used. For example, some simulators will not include
11081108
// detailed data about the hands of a pedestrian.
11091109
//
11101110
repeated Bone skeleton_data = 2;
1111-
1112-
//
1113-
// \brief Bones in the skeleton of the pedestrian
1111+
1112+
//
1113+
// \brief Bones in the skeleton of the pedestrian.
11141114
//
11151115
// Each point represents a joint, or otherwise important point in the skeleton
11161116
// of a pedestrian. For example pelvis, knee or shoulder. The naming convention
11171117
// should be followed for identifying bones.
11181118
//
1119-
message Bone {
1120-
1119+
message Bone
1120+
{
11211121
// Bones are identified by their type, combined with which body side
11221122
// they are on.
11231123
//
@@ -1134,41 +1134,39 @@ message MovingObject
11341134
// root point is used, all bones between that bone and the root also
11351135
// need to be defined in order to create a complete chain!
11361136
//
1137-
// If information about bones are missing, they may be left empty. A complete
1138-
// set of bones for the entire skeleton can't be expected!
1137+
// If information about bones are missing, they may be left empty.
11391138
//
11401139
optional Type type = 1;
11411140

1142-
// Position of the bone
1141+
// Position of the bone.
11431142
//
11441143
// Reference System is the root, defined by bbcenter_to_root
11451144
// (\c PedestrianAttributes::bbcenter_to_root).
11461145
//
1147-
//
11481146
optional Vector3d position = 2;
11491147

1150-
// Orientation of the bone
1148+
// Orientation of the bone.
11511149
//
11521150
// Reference System is the root, defined by bbcenter_to_root
11531151
// (\c PedestrianAttributes::bbcenter_to_root).
11541152
//
11551153
optional Orientation3d orientation = 3;
11561154

1157-
// Orientation of the bone
1155+
// Orientation of the bone.
11581156
//
11591157
// Reference System is the root, defined by bbcenter_to_root
11601158
// (\c PedestrianAttributes::bbcenter_to_root).
11611159
//
11621160
optional float length = 4;
11631161

1164-
// Determines if bones of a pedestrian are explicitly missing from the model.
1162+
// Determines a bone is explicitly missing from the pedestrian model.
11651163
//
11661164
// In case a pedestrian has missing limbs this can be explicitly communicated
11671165
// by setting this boolean to TRUE.
11681166
//
11691167
optional bool missing = 5;
11701168

1171-
// The type of the bone
1169+
// The type of the bone.
11721170
//
11731171
// \note Bone of each type can be assigned, or left empty depending
11741172
// on the desired level of detail, or present data. However, if a bone is
@@ -1177,8 +1175,7 @@ message MovingObject
11771175
//
11781176
// \image html OSI_PedestrianModelHierarchy.jpg
11791177
//
1180-
enum Type {
1181-
1178+
enum Type {
11821179
// Root point of the pedestrian. Defined by bbcenter_to_root
11831180
// (\c PedestrianAttributes::bbcenter_to_root).
11841181
//
@@ -1204,58 +1201,59 @@ message MovingObject
12041201
//
12051202
TYPE_HEAD = 5;
12061203

1207-
// Bone defines one of the shoulders.
1204+
// Bone defines the left shoulder.
12081205
//
12091206
TYPE_SHOULDER_L = 6;
12101207

1211-
// Bone defines one of the shoulders.
1208+
// Bone defines the right shoulder.
12121209
//
12131210
TYPE_SHOULDER_R = 7;
12141211

1215-
// Bone defines one of the upper arms.
1212+
// Bone defines the left upper arm.
12161213
//
12171214
TYPE_UPPER_ARM_L = 8;
12181215

1219-
// Bone defines one of the upper arms.
1216+
// Bone defines the right upper arm.
12201217
//
12211218
TYPE_UPPER_ARM_R = 9;
12221219

1223-
// Bone defines one of the forearms.
1220+
// Bone defines the left forearm.
12241221
//
12251222
TYPE_LOWER_ARM_L = 10;
12261223

1227-
// Bone defines one of the forearms.
1224+
// Bone defines the right forearm.
12281225
//
12291226
TYPE_LOWER_ARM_R = 11;
12301227

1231-
// Bone defines one of the hands.
1228+
// Bone defines the left hand.
12321229
//
12331230
TYPE_FULL_HAND_L = 12;
12341231

1235-
// Bone defines one of the hands.
1232+
// Bone defines the right hand.
12361233
//
12371234
TYPE_FULL_HAND_R = 13;
12381235

1239-
// Bone defines one of the thighs.
1236+
// Bone defines the left thigh.
12401237
//
12411238
TYPE_UPPER_LEG_L = 14;
1242-
// Bone defines one of the thighs.
1239+
1240+
// Bone defines the right thigh.
12431241
//
12441242
TYPE_UPPER_LEG_R = 15;
12451243

1246-
// Bone defines one of the shins.
1244+
// Bone defines the left shin.
12471245
//
12481246
TYPE_LOWER_LEG_L = 16;
12491247

1250-
// Bone defines one of the shins.
1248+
// Bone defines the right shin.
12511249
//
12521250
TYPE_LOWER_LEG_R = 17;
12531251

1254-
// Bone defines one of the feet.
1252+
// Bone defines the left foot.
12551253
//
12561254
TYPE_FULL_FOOT_L = 18;
12571255

1258-
// Bone defines one of the feet.
1256+
// Bone defines the right foot.
12591257
//
12601258
TYPE_FULL_FOOT_R = 19;
12611259
}

0 commit comments

Comments
 (0)