@@ -22,7 +22,8 @@ message MotionRequest
2222 // Define different options for HAD function ouput.
2323 // Each option is corresponds to a field in the message.
2424 //
25- enum OutputOptions {
25+ enum OutputOptions
26+ {
2627 DESIRED_STATE = 0 ;
2728 TRAJECTORY = 1 ;
2829 }
@@ -44,45 +45,46 @@ message MotionRequest
4445 // If the output option is set to DESIRED_TRAJECTORY, this must be set.
4546 //
4647 optional Trajectory desired_trajectory = 3 ;
47- }
4848
49- //
50- // \brief Defined the trajectory desired by the HAD function. This trajectory is the result of the trajctory planning step
51- // in the HAD function. The task of the acutator management is to follow the trajectory as close as possible.
52- // The timestamps inside the trajecotry must be defined in global simulation time.
53- //
54- message Trajectory {
55- repeated StatePoint trajectory_point = 1 ;
56- }
49+ //
50+ // \brief The desired state calculated by the HAD function as a result of the motion planning stack.
51+ // The actuator management is supposed to reach the desired state at the specified time.
52+ //
53+ message DesiredState
54+ {
55+ //
56+ // The timestamp indicates the point in time the state needs to be reached,
57+ // given in global simulation time.
58+ //
59+ optional Timestamp timestamp = 1 ;
5760
58- //
59- // \brief The desired state calculated by the HAD function as a result of the motion planning stack.
60- // The actuator management is supposed to reach the desired state at the specified time.
61- //
62- message DesiredState
63- {
64- //
65- // The timestamp indicates the point in time the state needs to be reached,
66- // given in global simulation time.
67- //
68- optional Timestamp timestamp = 1 ;
61+ // intended position to be reached in x, y, and z direction.
62+ //
63+ optional Vector3d position = 2 ;
6964
70- // intended position to be reached in x, y, and z direction.
71- //
72- optional Vector3d position = 2 ;
73-
74- // intended orientation to be reached containing roll, pitch, and yaw angle
75- //
76- optional Orientation3d orientation = 3 ;
77-
78- // intended velocity to be reached in x, y, and z direction
79- //
80- optional Vector3d velocity = 4 ;
81-
82- // intended acceleration to be reached in x, y, and z direction
83- //
84- optional Vector3d acceleration = 5 ;
65+ // intended orientation to be reached containing roll, pitch, and yaw angle
66+ //
67+ optional Orientation3d orientation = 3 ;
8568
86- }
69+ // intended velocity to be reached in x, y, and z direction
70+ //
71+ optional Vector3d velocity = 4 ;
8772
73+ // intended acceleration to be reached in x, y, and z direction
74+ //
75+ optional Vector3d acceleration = 5 ;
8876
77+ }
78+
79+ //
80+ // \brief Defined trajectory desired by the HAD function. This trajectory is the result of the trajectory planning step
81+ // in the HAD function. The task of the acutator management is to follow the trajectory as close as possible.
82+ // The timestamps inside the trajecotry must be defined in global simulation time.
83+ // \note Kept as a seperate message for future extensions
84+ //
85+ message Trajectory
86+ {
87+ repeated StatePoint trajectory_point = 1 ;
88+ }
89+
90+ }
0 commit comments