Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/single_joint_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ bool SingleJointGenerator::backwardLimitCompensation(size_t limited_index, doubl
break;
}
}
// else, can't make all of the correction in this timestep, so make as
// much of a change as possible
else

// Can't make all of the correction in this timestep, so make as much of a change as possible
if (!successful_compensation)
{
// This is what accel and jerk would be if we set velocity(index) to the
// limit
Expand Down