@@ -30,11 +30,11 @@ message MotionRequest
3030 //
3131 optional Timestamp timestamp = 2 ;
3232
33- // Define the option that is used to specify the motion request.
33+ // Define the type that is used to specify the motion request.
3434 // This must be set. Additionally, the field corresponding to the specified
3535 // option must be set.
3636 //
37- optional OutputOptions output_option = 3 ;
37+ optional MotionRequestType motion_request_type = 3 ;
3838
3939 // Defines a desired state.
4040 // If the output option is set to DESIRED_STATE, this field must be set.
@@ -44,12 +44,12 @@ message MotionRequest
4444 // Defines a desired trajectory.
4545 // If the output option is set to DESIRED_TRAJECTORY, this field must be set.
4646 //
47- optional Trajectory desired_trajectory = 5 ;
47+ optional DesiredTrajectory desired_trajectory = 5 ;
4848
4949 // Define different options for HAD function output.
5050 // Each option corresponds to a field in the message.
5151 //
52- enum OutputOptions
52+ enum MotionRequestType
5353 {
5454 // Desired state calculated by the HAD function.
5555 //
@@ -101,7 +101,7 @@ message MotionRequest
101101 //
102102 // \note The trajectory is kept as a separate message for future extensions.
103103 //
104- message Trajectory
104+ message DesiredTrajectory
105105 {
106106 // The trajectory consists of intended position (x, y, and z) and
107107 // orientation (yaw, pitch and roll) of intended state to be reached.
0 commit comments