Skip to content

Commit

Permalink
Remove now-obsolete todo
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDab committed Sep 30, 2023
1 parent 8e6bc25 commit dffe2dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/control/PlanarArmController.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ template <unsigned int N> class PlanarArmController {
double radius = kin.getSegLens().sum() * safetyFactor;
if (pos.norm() > radius) {
// new position is outside of bounds
// TODO: will need to eventually shrink velocity vector until it is within radius
// instead of just normalizing it
// shrink velocity vector until it is within radius.
pos.normalize();
pos *= radius;
}
Expand Down

0 comments on commit dffe2dc

Please sign in to comment.