File tree Expand file tree Collapse file tree 1 file changed +14
-26
lines changed Expand file tree Collapse file tree 1 file changed +14
-26
lines changed Original file line number Diff line number Diff line change @@ -17,41 +17,29 @@ package osi3;
1717//
1818message MotionRequest
1919{
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 ;
2027
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 ;
2833 }
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 ;
4734}
4835
4936//
5037// \brief Defined the trajectory desired by the had function. This trajectory is the result of the trajctory planning step
5138// in the HAD function. The task of the acutator management is to follow the trajectory as close as possible.
5239// The timestamps inside the trajecotry must be defined in global simulation time.
5340//
54- message Trajectory {
41+ message Trajectory
42+ {
5543 repeated StatePoint trajectory_point = 1 ;
5644}
5745
You can’t perform that action at this time.
0 commit comments