Skip to content

Commit 65d8f6e

Browse files
Adaptions like requested in PR#488 and redefiniton of what ist HostVehicleData about
Signed-off-by: Nader Thomas <thomas.nader@bmw.de>
1 parent d25e1eb commit 65d8f6e

File tree

1 file changed

+47
-23
lines changed

1 file changed

+47
-23
lines changed

osi_hostvehicledata.proto

Lines changed: 47 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ import "osi_common.proto";
88
package osi3;
99

1010
// \brief Host vehicle data is about the perception of the vehicle about it's own, internal states.
11-
// It describes data that the host vehicle knows about itself,
12-
// e.g. from location sensors, internal sensors, board net etc.
13-
// A dynamic model can serve as input provider.
14-
// Sensors, mockups or other modules can make usage of the host vehicle data.
11+
// It can be understood as an interface container for restbussimulation signals.
12+
// If there is a duplication with values from the rest of SensorView or SensorData, than these shall be taken.
13+
//
1514
// It consists of different messages categorizing the vehicle in:
1615
// Vehicle-Basics, Vehicle-Powermanagement, Vehicle-Powertrain, Vehicle-SteeringWheel, Vehicle-Wheels, Vehicle-Localization.
1716
//
@@ -80,7 +79,7 @@ message HostVehicleData
8079
//
8180
message VehicleBasics
8281
{
83-
// The total mass of the vehicle (curb weight).
82+
// The total mass of the vehicle (curb weight).
8483
//
8584
// Unit: kg
8685
//
@@ -98,7 +97,7 @@ message HostVehicleData
9897
// To be discussed.
9998
//
10099
}
101-
100+
102101
//
103102
// \brief State description of the powertrain.
104103
//
@@ -124,7 +123,7 @@ message HostVehicleData
124123
// reverse mode gears)
125124
//
126125
optional int32 gear_transmission = 3;
127-
126+
128127
// Information about the motor(s).
129128
//
130129
repeated Motor motor = 4;
@@ -149,7 +148,7 @@ message HostVehicleData
149148
//
150149
optional double pedal_position_clutch = 3;
151150
}
152-
151+
153152
//
154153
// \brief A description for the positions of the pedals.
155154
//
@@ -158,7 +157,7 @@ message HostVehicleData
158157
// The type of the motor.
159158
//
160159
optional Type type = 1;
161-
160+
162161
// Rounds per minute of the engine. RPM can be from E-Motor/ Engine.
163162
//
164163
// Unit: 1/min
@@ -170,7 +169,7 @@ message HostVehicleData
170169
// Unit: N*m
171170
//
172171
optional double torque = 3;
173-
172+
174173
// Definition which type of motor is used.
175174
//
176175
enum Type
@@ -186,11 +185,11 @@ message HostVehicleData
186185
// A motor working after the principle of Nicolaus Otto.
187186
//
188187
TYPE_OTTO = 2;
189-
188+
190189
// A motor working after the principle of Rudolf Diesel.
191190
//
192191
TYPE_DIESEL = 3;
193-
192+
194193
// A motor working electric.
195194
//
196195
TYPE_ELECTRIC = 4;
@@ -204,7 +203,7 @@ message HostVehicleData
204203
//
205204
message VehicleSteeringWheel
206205
{
207-
// Angle of the steering wheel.
206+
// Angle of the steering wheel.
208207
// 0=Central (Straight); Left>0; 0>Right.
209208
//
210209
// Unit: rad
@@ -254,7 +253,7 @@ message HostVehicleData
254253
//
255254
optional uint32 index = 2;
256255

257-
// Dry friction is a force that opposes the relative lateral motion of two solid surfaces
256+
// Dry friction is a force that opposes the relative lateral motion of two solid surfaces
258257
// in contact. It is subdivided into static friction between non-moving surfaces and kinetic
259258
// friction between moving surfaces.
260259
// Ued here is the dry friction coefficient of the paired materials (see reference).
@@ -292,33 +291,58 @@ message HostVehicleData
292291
}
293292

294293
//
295-
// \brief This message contains all the information the vehicle knows about its positioning and kinematics.
294+
// \brief Current calculated and estimated location that can be based on GPS- and related navigation sensors,
295+
// but this message does not contain the raw values of the sensorics.
296+
// Instead it contains the most accurate information the vehicle knows about its positioning and kinematics
297+
// available on the board net.
298+
// Because of this the values can differ from the "true" values calculated out of
299+
// GroundTruth::proj_string, GroundTruth::MovingObject::BaseMoving::position, GroundTruth::host_vehicle_id.
296300
//
297301
message VehiclePositionAndKinematics
298302
{
299303
//
300-
// \brief Current calculated and estimated kinematic data.
304+
// \brief Most accurate, calculated and estimated kinematic data.
301305
//
302306
message CartesianInformation
303307
{
304-
// Current calculated and estimated kinematic data.
308+
// Geodetic origin of the ENU (east-north-up) cartesian coordinate system regarding WGS84.
305309
//
306-
// \note Note that dimension and base_polygon need not be set.
310+
// Order: Longitude[rad], latitude[rad], altitude[m].
307311
//
308-
optional BaseMoving cartesian_data = 1;
312+
optional Vector3d cartesian_positioning_origin = 1;
309313

310-
// Current calculated and estimated kinematic data error.
314+
// Current calculated and estimated positioning data.
311315
//
312-
// \note Note that dimension and base_polygon need not be set.
316+
// Order: Longitude[rad], latitude[rad], altitude[m].
313317
//
314-
optional BaseMoving cartesian_data_rmse = 2;
318+
// \note If \c HostVehicleData::enu_origin is specified, then the \c BaseMoving parent frame used by
319+
// \c HostVehicleData::location is the ENU frame according to ISO8855 with the geodetic origin of
320+
// \c HostVehicleData::enu_origin. Otherwise \c BaseMoving parent frame is an arbitrary cartesian coordinate system
321+
// with its axis conventions following ISO8855.
322+
//
323+
optional Vector3d cartesian_positioning = 2;
324+
325+
// Current calculated and estimated positioning data error.
326+
//
327+
// Order: Longitude[rad], latitude[rad], altitude[m].
328+
//
329+
// \note If \c HostVehicleData::enu_origin is specified, then the \c BaseMoving parent frame used by
330+
// \c HostVehicleData::location is the ENU frame according to ISO8855 with the geodetic origin of
331+
// \c HostVehicleData::enu_origin. Otherwise \c BaseMoving parent frame is an arbitrary cartesian coordinate system
332+
// with its axis conventions following ISO8855.
333+
//
334+
optional Vector3d cartesian_positioning_rmse = 3;
335+
336+
// Acceleration Values?
315337
}
316338

317339
//
318-
// \brief Current calculated and estimated geodetic location.
340+
// \brief Most accurate, calculated and estimated geodetic location.
319341
//
320342
message GeoreferencedInformation
321343
{
344+
// ToDo: Offset?
345+
322346
// Longitude in decimal degrees regarding WGS84.
323347
//
324348
// Unit: Degree

0 commit comments

Comments
 (0)