You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something weird happens wen I try to use setDegreesForAllServos and this causes my servos to fly all over the place.
If I assign the ServoEasingNextPositionArray-elements one at a time directly, everything works as expected.
ServoEasing::ServoEasingNextPositionArray[i] = abs(theta[i + 1])
etc.
But if I assign them using setDegreeForAllServos, and then query the values, I get unexpected results.
Hi and thanks for the library!
Something weird happens wen I try to use setDegreesForAllServos and this causes my servos to fly all over the place.
If I assign the ServoEasingNextPositionArray-elements one at a time directly, everything works as expected.
ServoEasing::ServoEasingNextPositionArray[i] = abs(theta[i + 1])
etc.
But if I assign them using setDegreeForAllServos, and then query the values, I get unexpected results.
Output:
DE 92.000000 115.000000 3.000000 90.000000 10.000000 16.000000
SE 1074266112.000000 0.000000 1079443456.000000 0.000000 1079820288.000000 0.000000
For even more interesting results:
Output:
DE 92.000000 115.000000 3.000000 90.000000 10.000000 16.000000
SE 92.000000 0.000000 1079443456.000000 180.000000 1073421888.000000 0.000000
setDegreeForAllServos(6, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f);
Does not work either. So an issue with va_arg.. ?
Board
IDE
The text was updated successfully, but these errors were encountered: