Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mario Prats <[email protected]>
  • Loading branch information
sjahr and marioprats authored Jun 6, 2024
1 parent 6552aa3 commit e56e5d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ class JointModelGroup
std::vector<size_t>& joint_bijection) const;

/**
* @brief Get the lower and upper position limits of a given joint group.
* @brief Get the lower and upper position limits of all active variables in the group.
*
* @return std::pair<Eigen::VectorXd, Eigen::VectorXd> Containing the joint limits
*/
Expand All @@ -596,7 +596,7 @@ class JointModelGroup
/**
* @brief Gets the pair of maximum joint velocities/accelerations for a given group. Asserts that the group contains
* only single-variable joints,
*
* @details In case of asymmetric velocity or acceleration limits, this function will return the most limiting component.
* @return std::pair<Eigen::VectorXd, Eigen::VectorXd> Containing the velocity and acceleration limits
*/
[[nodiscard]] std::pair<Eigen::VectorXd, Eigen::VectorXd> getMaxVelocitiesAndAccelerationBounds() const;
Expand Down
2 changes: 1 addition & 1 deletion moveit_core/robot_model/src/joint_model_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ std::pair<Eigen::VectorXd, Eigen::VectorXd> JointModelGroup::getMaxVelocitiesAnd
{
// TODO(sjahr) Support multiple variables
RCLCPP_ERROR(getLogger(), "Number of active joint models does not match number of active joint model bounds. "
"Returning bound vectors.with zeros");
"Returning bound vectors with zeros");
return { max_joint_velocities, max_joint_accelerations };
}
for (std::size_t i = 0; i < active_joint_models_bounds_.size(); ++i)
Expand Down

0 comments on commit e56e5d5

Please sign in to comment.