@@ -44,7 +44,7 @@ bool is_limited(double value, double min, double max);
44
44
* @param act_vel The actual velocity of the joint.
45
45
* @param prev_command_pos The previous commanded position of the joint.
46
46
* @param dt The time step.
47
- * @return The position limits.
47
+ * @return The position limits, first is the lower limit and second is the upper limit .
48
48
*/
49
49
std::pair<double , double > compute_position_limits (
50
50
const joint_limits::JointLimits & limits, const std::optional<double > & act_vel,
@@ -57,7 +57,7 @@ std::pair<double, double> compute_position_limits(
57
57
* @param act_pos The actual position of the joint.
58
58
* @param prev_command_vel The previous commanded velocity of the joint.
59
59
* @param dt The time step.
60
- * @return The velocity limits.
60
+ * @return The velocity limits, first is the lower limit and second is the upper limit .
61
61
*/
62
62
std::pair<double , double > compute_velocity_limits (
63
63
const std::string & joint_name, const joint_limits::JointLimits & limits,
@@ -70,7 +70,7 @@ std::pair<double, double> compute_velocity_limits(
70
70
* @param act_pos The actual position of the joint.
71
71
* @param act_vel The actual velocity of the joint.
72
72
* @param dt The time step.
73
- * @return The effort limits.
73
+ * @return The effort limits, first is the lower limit and second is the upper limit .
74
74
*/
75
75
std::pair<double , double > compute_effort_limits (
76
76
const joint_limits::JointLimits & limits, const std::optional<double > & act_pos,
@@ -82,7 +82,7 @@ std::pair<double, double> compute_effort_limits(
82
82
* @param limits The joint limits.
83
83
* @param desired_acceleration The desired acceleration.
84
84
* @param actual_velocity The actual velocity of the joint.
85
- * @return The acceleration limits.
85
+ * @return The acceleration limits, first is the lower limit and second is the upper limit .
86
86
*/
87
87
std::pair<double , double > compute_acceleration_limits (
88
88
const JointLimits & limits, double desired_acceleration, std::optional<double > actual_velocity);
0 commit comments