Skip to content

Commit 5cc7f94

Browse files
ThomasNaderBMWpmai
authored andcommitted
Updated motor descriptions.
Signed-off-by: Nader Thomas <thomas.nader@bmw.de>
1 parent fbac8c3 commit 5cc7f94

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

osi_common.proto

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -810,51 +810,51 @@ message ColorCMYK
810810
//
811811
message Pedalry
812812
{
813-
// Position of the acceleration-pedal.
814-
// Range: 0-1 (Unpressed - fully pressed)
815-
//
816-
optional double pedal_position_acceleration = 1;
817-
818-
// Position of the brake-pedal.
819-
// Range: 0-1 (Unpressed - fully pressed)
820-
//
821-
optional double pedal_position_brake = 2;
822-
823-
// Position of the clutch-pedal.
824-
// Range: 0-1 (Unpressed - fully pressed)
825-
//
826-
optional double pedal_position_clutch = 3;
813+
// Position of the acceleration-pedal.
814+
// Range: 0-1 (Unpressed - fully pressed)
815+
//
816+
optional double pedal_position_acceleration = 1;
817+
818+
// Position of the brake-pedal.
819+
// Range: 0-1 (Unpressed - fully pressed)
820+
//
821+
optional double pedal_position_brake = 2;
822+
823+
// Position of the clutch-pedal.
824+
// Range: 0-1 (Unpressed - fully pressed)
825+
//
826+
optional double pedal_position_clutch = 3;
827827
}
828828

829829
//
830-
// A description of the steering wheel.
830+
// \brief A description of the steering wheel.
831831
//
832832
message VehicleSteeringWheel
833833
{
834-
// Angle of the steering wheel.
835-
// Zero means the steering wheel is in its center position, a positive value
836-
// means the steering wheel is turned to the left and a negative value
837-
// means the steering wheel is turned to the right of the center position.
838-
//
839-
// Unit: rad
840-
//
841-
optional double angle = 1;
842-
843-
// Angular speed of the steering wheel.
844-
// Zero means the steering wheel stays in its position, a positive value
845-
// means the steering wheel is turned to the left and a negative value
846-
// means the steering wheel is turned to the right.
847-
//
848-
// Unit: rad/s
849-
//
850-
optional double angular_speed = 2;
851-
852-
// Torque of the steering wheel to the hand.
853-
// Zero means there is no force from the steering wheel to the driver`s hands.
854-
// A positive value means the steering wheel would turn to the left without driver`s forces
855-
// and a negative value means the steering wheel would turn to the right without driver`s forces.
856-
//
857-
// Unit: N*m
858-
//
859-
optional double torque = 3;
834+
// Angle of the steering wheel.
835+
// Zero means the steering wheel is in its center position, a positive value
836+
// means the steering wheel is turned to the left and a negative value
837+
// means the steering wheel is turned to the right of the center position.
838+
//
839+
// Unit: rad
840+
//
841+
optional double angle = 1;
842+
843+
// Angular speed of the steering wheel.
844+
// Zero means the steering wheel stays in its position, a positive value
845+
// means the steering wheel is turned to the left and a negative value
846+
// means the steering wheel is turned to the right.
847+
//
848+
// Unit: rad/s
849+
//
850+
optional double angular_speed = 2;
851+
852+
// Torque of the steering wheel to the hand.
853+
// Zero means there is no force from the steering wheel to the driver`s hands.
854+
// A positive value means the steering wheel would turn to the left without driver`s forces
855+
// and a negative value means the steering wheel would turn to the right without driver`s forces.
856+
//
857+
// Unit: N*m
858+
//
859+
optional double torque = 3;
860860
}

osi_hostvehicledata.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,21 +108,21 @@ message HostVehicleData
108108
repeated Motor motor = 3;
109109

110110
//
111-
// \brief A description for the positions of the pedals.
111+
// \brief A description of the motor states.
112112
//
113113
message Motor
114114
{
115115
// The type of the motor.
116116
//
117117
optional Type type = 1;
118118

119-
// Rounds per minute of the engine. RPM can be from E-Motor/ Engine.
119+
// Rounds per minute of the motor.
120120
//
121121
// Unit: 1/min
122122
//
123123
optional double rpm = 2;
124124

125-
// Torque in Nm. It can either be from Engine/E-Motor or combined Torque values.
125+
// Torque from the motor.
126126
//
127127
// Unit: N*m
128128
//
@@ -132,11 +132,11 @@ message HostVehicleData
132132
//
133133
enum Type
134134
{
135-
// The powertrain mode is unknown.
135+
// The motor type is unknown.
136136
//
137137
TYPE_UNKNOWN = 0;
138138

139-
// It is another powertrain mode.
139+
// It is another motor type.
140140
//
141141
TYPE_OTHER = 1;
142142

0 commit comments

Comments
 (0)