Skip to content

Commit 0cf4e9f

Browse files
committed
Fix various whitespace issues
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent e6bb092 commit 0cf4e9f

File tree

1 file changed

+40
-39
lines changed

1 file changed

+40
-39
lines changed

osi_object.proto

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ message MovingObject
523523
// \endrules
524524
//
525525
optional PedestrianAttributes pedestrian_attributes = 12;
526-
526+
527527
//
528528
// \brief The vehicle attributes for \c MovingObject (host or other).
529529
//
@@ -1027,18 +1027,18 @@ message MovingObject
10271027
}
10281028
}
10291029

1030-
// Definition of vehicle roles.
1030+
// Definition of vehicle roles.
10311031
//
1032-
// The role specifies the perceived role of a vehicle. Therefore, a
1033-
// civil police car is set to ROLE_CIVIL as long as it cannot be
1034-
// perceived as a ROLE_POLICE.
1035-
// The normal use case will consist of 99% ROLE_CIVIL, as this role is
1032+
// The role specifies the perceived role of a vehicle. Therefore, a
1033+
// civil police car is set to ROLE_CIVIL as long as it cannot be
1034+
// perceived as a ROLE_POLICE.
1035+
// The normal use case will consist of 99% ROLE_CIVIL, as this role is
10361036
// used for normal vehicles.
10371037
// These roles may influence the behavior in traffic of the surrounding vehicles.
1038-
// To check whether a role is "active" (e.g. blue flashing light of an
1039-
// ambulance or an amber flashing light of a sweeper) can be looked up
1038+
// To check whether a role is "active" (e.g. blue flashing light of an
1039+
// ambulance or an amber flashing light of a sweeper) can be looked up
10401040
// in message LightState.
1041-
//
1041+
//
10421042
//
10431043
enum Role
10441044
{
@@ -1053,7 +1053,7 @@ message MovingObject
10531053
// The vehicle role is civil, e.g. a "normal" car.
10541054
//
10551055
ROLE_CIVIL = 2;
1056-
1056+
10571057
// The vehicle role is ambulance.
10581058
//
10591059
ROLE_AMBULANCE = 3;
@@ -1073,15 +1073,15 @@ message MovingObject
10731073
// The vehicle role is roadside assistance, e.g. tow truck.
10741074
//
10751075
ROLE_ROAD_ASSISTANCE = 7;
1076-
1076+
10771077
// The vehicle role is garbage collection, e.g. a garbage truck or sweeper.
10781078
//
10791079
ROLE_GARBAGE_COLLECTION = 8;
10801080

10811081
// The vehicle role is road construction, e.g. a excavator or tipper truck.
10821082
//
10831083
ROLE_ROAD_CONSTRUCTION = 9;
1084-
1084+
10851085
// The vehicle role is military, e.g. camouflaged truck.
10861086
//
10871087
ROLE_MILITARY = 10;
@@ -1091,37 +1091,37 @@ message MovingObject
10911091
//
10921092
// \brief Additional pedestrian data in case the moving object is a human.
10931093
//
1094-
// This is an extension to the \c MovingObject with additional information
1094+
// This is an extension to the \c MovingObject with additional information
10951095
// describing a pedestrian in more detail.
1096-
//
1096+
//
10971097
message PedestrianAttributes
10981098
{
10991099
// Position offset from the center of the bounding box to the current position
11001100
// of the root point of the pedestrian skeleton model.
1101-
//
1101+
//
11021102
optional Vector3d bbcenter_to_root = 1;
11031103

11041104
// List of all bones of the pedestrian.
1105-
//
1106-
// The number of bones may vary, based on the detail level of
1107-
// the pedestrian model used. For example, some simulators will not include
1105+
//
1106+
// The number of bones may vary, based on the detail level of
1107+
// the pedestrian model used. For example, some simulators will not include
11081108
// detailed data about the hands of a pedestrian.
1109-
//
1109+
//
11101110
repeated Bone skeleton_data = 2;
1111-
1111+
11121112
//
11131113
// \brief Bones in the skeleton of the pedestrian.
11141114
//
1115-
// Each point represents a joint, or otherwise important point in the skeleton
1116-
// of a pedestrian. For example pelvis, knee or shoulder. The naming convention
1115+
// Each point represents a joint, or otherwise important point in the skeleton
1116+
// of a pedestrian. For example pelvis, knee or shoulder. The naming convention
11171117
// should be followed for identifying bones.
11181118
//
11191119
message Bone
11201120
{
11211121
// Bones are identified by their type, combined with which body side
11221122
// they are on.
1123-
//
1124-
// To properly identify the bones the pre-defined naming convention
1123+
//
1124+
// To properly identify the bones the pre-defined naming convention
11251125
// must be used.
11261126
//
11271127
// \image html OSI_SkeletonNamingConvention.svg
@@ -1135,27 +1135,27 @@ message MovingObject
11351135
// need to be defined in order to create a complete chain!
11361136
//
11371137
// If information about bones are missing, they may be left empty.
1138-
//
1138+
//
11391139
optional Type type = 1;
11401140

11411141
// Position of the bone.
1142-
//
1143-
// Reference System is the root, defined by bbcenter_to_root
1144-
// (\c PedestrianAttributes::bbcenter_to_root).
1145-
//
1142+
//
1143+
// Reference System is the root, defined by bbcenter_to_root
1144+
// (\c PedestrianAttributes::bbcenter_to_root).
1145+
//
11461146
optional Vector3d position = 2;
11471147

11481148
// Orientation of the bone.
11491149
//
1150-
// Reference System is the root, defined by bbcenter_to_root
1151-
// (\c PedestrianAttributes::bbcenter_to_root).
1150+
// Reference System is the root, defined by bbcenter_to_root
1151+
// (\c PedestrianAttributes::bbcenter_to_root).
11521152
//
11531153
optional Orientation3d orientation = 3;
11541154

11551155
// Orientation of the bone.
11561156
//
1157-
// Reference System is the root, defined by bbcenter_to_root
1158-
// (\c PedestrianAttributes::bbcenter_to_root).
1157+
// Reference System is the root, defined by bbcenter_to_root
1158+
// (\c PedestrianAttributes::bbcenter_to_root).
11591159
//
11601160
optional float length = 4;
11611161

@@ -1169,14 +1169,15 @@ message MovingObject
11691169
// The type of the bone.
11701170
//
11711171
// \note Bone of each type can be assigned, or left empty depending
1172-
// on the desired level of detail, or present data. However, if a bone is
1173-
// defined, all bones in the chain from that bone back to the root
1174-
// point must be defined to create a complete chain.
1172+
// on the desired level of detail, or present data. However, if a
1173+
// bone is defined, all bones in the chain from that bone back to
1174+
// the root point must be defined to create a complete chain.
11751175
//
11761176
// \image html OSI_PedestrianModelHierarchy.jpg
11771177
//
1178-
enum Type {
1179-
// Root point of the pedestrian. Defined by bbcenter_to_root
1178+
enum Type
1179+
{
1180+
// Root point of the pedestrian. Defined by bbcenter_to_root
11801181
// (\c PedestrianAttributes::bbcenter_to_root).
11811182
//
11821183
TYPE_ROOT = 0;
@@ -1244,7 +1245,7 @@ message MovingObject
12441245
// Bone defines the left shin.
12451246
//
12461247
TYPE_LOWER_LEG_L = 16;
1247-
1248+
12481249
// Bone defines the right shin.
12491250
//
12501251
TYPE_LOWER_LEG_R = 17;

0 commit comments

Comments
 (0)