Skip to content

Commit

Permalink
reduced the minimum max velocity joint limit from 0.01 to 0.001 for totg
Browse files Browse the repository at this point in the history
  • Loading branch information
grejj committed Nov 1, 2021
1 parent d1465a7 commit 03f85d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -934,15 +934,15 @@ bool TimeOptimalTrajectoryGeneration::computeTimeStamps(robot_trajectory::RobotT
{
max_velocity[j] =
std::min(std::fabs(bounds.max_velocity_), std::fabs(bounds.min_velocity_)) * velocity_scaling_factor;
max_velocity[j] = std::max(0.01, max_velocity[j]);
max_velocity[j] = std::max(0.001, max_velocity[j]);
}

max_acceleration[j] = 1.0;
if (bounds.acceleration_bounded_)
{
max_acceleration[j] = std::min(std::fabs(bounds.max_acceleration_), std::fabs(bounds.min_acceleration_)) *
acceleration_scaling_factor;
max_acceleration[j] = std::max(0.01, max_acceleration[j]);
max_acceleration[j] = std::max(0.001, max_acceleration[j]);
}
}

Expand Down

0 comments on commit 03f85d5

Please sign in to comment.