File tree 1 file changed +14
-26
lines changed
1 file changed +14
-26
lines changed Original file line number Diff line number Diff line change @@ -17,41 +17,29 @@ package osi3;
17
17
//
18
18
message MotionRequest
19
19
{
20
+ oneof motion_request
21
+ {
22
+ //
23
+ // Defines a desired state.
24
+ // If the output option is set to DESIRED_STATE this must be provided.
25
+ //
26
+ DesiredState desired_state = 1 ;
20
27
21
- //
22
- // Define different options for had function ouput.
23
- // Each option is corresponds to a field in the message.
24
- //
25
- enum OutputOptions {
26
- DESIRED_STATE = 0 ;
27
- TRAJECTORY = 1 ;
28
+ //
29
+ // Defines a desired trajectory.
30
+ // If the output option is set to DESIRED_TRAJECTORY this must be set.
31
+ //
32
+ Trajectory desired_trajectory = 2 ;
28
33
}
29
-
30
- //
31
- // Define the option that is used to specify the motion request.
32
- // This must be set. Additionaly the field corresponding to the specified option must be set.
33
- //
34
- optional OutputOptions output_option = 1 ;
35
-
36
- //
37
- // Defines a desired state.
38
- // If the output option is set to DESIRED_STATE this must be provided.
39
- //
40
- optional DesiredState desired_state = 2 ;
41
-
42
- //
43
- // Defines a desired trajectory.
44
- // If the output option is set to DESIRED_TRAJECTORY this must be set.
45
- //
46
- optional Trajectory desired_trajectory = 3 ;
47
34
}
48
35
49
36
//
50
37
// \brief Defined the trajectory desired by the had function. This trajectory is the result of the trajctory planning step
51
38
// in the HAD function. The task of the acutator management is to follow the trajectory as close as possible.
52
39
// The timestamps inside the trajecotry must be defined in global simulation time.
53
40
//
54
- message Trajectory {
41
+ message Trajectory
42
+ {
55
43
repeated StatePoint trajectory_point = 1 ;
56
44
}
57
45
You can’t perform that action at this time.
0 commit comments