We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24547b2 commit ddf603cCopy full SHA for ddf603c
README.md
@@ -50,10 +50,7 @@ void loop() {
50
int shoulderAngle = fabrik2D.getAngle(0) * RAD_TO_DEG; // In degrees
51
int elbowAngle = fabrik2D.getAngle(1) * RAD_TO_DEG; // In degrees
52
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!
+ // Compute servo angles based on the output (see explanation in README.md under "Servo Orientation")
57
shoulder.write(min(180, max(0, shoulderAngle)));
58
elbow.write(min(180, max(0, elbowAngle + 90)));
59
0 commit comments