Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wiznitzer committed Jan 17, 2023
1 parent 48d56f9 commit b5d774e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ bool RuckigSmoothing::applySmoothing(robot_trajectory::RobotTrajectory& trajecto
std::unordered_map<std::string, double> jerk_limits;
for (const auto& limit : joint_limits)
{
// If custom limits are not defined here, they will be supplied from getRobotModelBounds() later
if (limit.has_velocity_limits)
{
velocity_limits[limit.joint_name] = limit.max_velocity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ bool TimeOptimalTrajectoryGeneration::computeTimeStamps(robot_trajectory::RobotT
std::unordered_map<std::string, double> acceleration_limits;
for (const auto& limit : joint_limits)
{
// If custom limits are not defined here, they will be supplied from getRobotModelBounds() later
if (limit.has_velocity_limits)
{
velocity_limits[limit.joint_name] = limit.max_velocity;
Expand Down

0 comments on commit b5d774e

Please sign in to comment.