Skip to content

Commit 7b9dd63

Browse files
authored
Update osi_motionrequest.proto
Changed the positions and orientations ot be 3 Dimensional. Also added somme comments for clarification of the coordinate system. Signed-off-by: Markus Lemmer <[email protected]>
1 parent 8a26391 commit 7b9dd63

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

osi_motionrequest.proto

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ import "osi_version.proto";
88
package osi3;
99

1010
//
11-
// \brief This message is intended as an interface between a HAD (highly automated dricing) function and the actuator management.
12-
// The HAD function can send either an a desired future trajectory ore a desired future state.
11+
// \brief This message is intended as an interface between a HAD (highly automated driving) function and the actuator management.
12+
// The HAD function can send either a desired future trajectory ore a desired future state.
1313
// The message to be used can be defined by a additional variable.
1414
//
1515
// All coordinates and orientations are relative to the global coordinate system.
16+
// The reference point of the vehicle is the center of the 3D bounding box of the vehicle.
1617
//
1718
message MotionRequest
1819
{
@@ -24,14 +25,13 @@ message MotionRequest
2425
enum OutputOptions {
2526
DESIRED_STATE = 0;
2627
TRAJECTORY = 1;
27-
2828
}
2929

3030
//
3131
// Define the option that is used to specify the motion request.
3232
// This must be set. Additionaly the field corresponding to the specified option must be set.
3333
//
34-
optional OutputOptions output_option = 1;
34+
optional OutputOptions output_option = 1;
3535

3636
//
3737
// Defines a desired state.
@@ -61,28 +61,27 @@ message Trajectory {
6161
//
6262
message DesiredState
6363
{
64+
//
65+
// The timestamp indicates at which point in time the state needs to be reached,
66+
// given in global simulation time.
67+
//
68+
optional Timestamp timestamp = 1;
6469

65-
//
66-
// The timestamp indicates at which point in time the state needs to be reached,
67-
// given in global simulation time.
68-
//
69-
optional Timestamp timestamp = 1;
70-
71-
// intended position to be reached in x and y direction.
70+
// intended position to be reached in x, y and z direction.
7271
//
73-
optional Vector2d desired_pos = 2;
72+
optional Vector3d position = 2;
7473

75-
// intended heading to be reached.
74+
// intended orientation to be reached containing roll, pitch and yaw angle
7675
//
77-
optional double desired_heading = 3;
76+
optional Orientation3d orientation = 3;
7877

79-
// intended velocity to be reached in x and y direction
78+
// intended velocity to be reached in x, y and z direction
8079
//
81-
optional Vector2d desired_velocity = 4;
80+
optional Vector3d velocity = 4;
8281

83-
// intended acceleration to be reached in x and y direction
82+
// intended acceleration to be reached in x, y and z direction
8483
//
85-
optional Vector2d desired_acceleration = 5;
84+
optional Vector3d acceleration = 5;
8685

8786
}
8887

0 commit comments

Comments
 (0)