Currently, output from the IK is in radians (as a float). This is converted into degrees (as an integer), and later into microseconds (also as an integer). The second conversion is done within the servo library itself, which also exposes a writeMicroseconds method.
Some rounding error could be eliminated by directly converting from radians into microseconds, and omitting the second conversion (and the intermediate, granular, degree measurement).
Currently, output from the IK is in radians (as a float). This is converted into degrees (as an integer), and later into microseconds (also as an integer). The second conversion is done within the servo library itself, which also exposes a writeMicroseconds method.
Some rounding error could be eliminated by directly converting from radians into microseconds, and omitting the second conversion (and the intermediate, granular, degree measurement).