Skip to content

Commit ddf603c

Browse files
authored
Update README.md
1 parent 24547b2 commit ddf603c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ void loop() {
5050
int shoulderAngle = fabrik2D.getAngle(0) * RAD_TO_DEG; // In degrees
5151
int elbowAngle = fabrik2D.getAngle(1) * RAD_TO_DEG; // In degrees
5252

53-
// Write to the servos with limits, these will probably not be the same
54-
// for your manipulator and will have to be changed depending on your
55-
// setup. Since the library may output negative angles, it is important
56-
// to apply limits before sending the angles to the servos!
53+
// Compute servo angles based on the output (see explanation in README.md under "Servo Orientation")
5754
shoulder.write(min(180, max(0, shoulderAngle)));
5855
elbow.write(min(180, max(0, elbowAngle + 90)));
5956

0 commit comments

Comments
 (0)