Would you consider opening up Discussions?. I am looking for help using the Technic Large Motor to steer the off road buggy - but don't want to clutter up Issues with non-bugs.
I used this library to make a web page to control kid's duplo train a few years ago, and it's still kicking. Just updated your lib from 1.x => 8.x. So thanks!
I ran into trouble controlling a Technic Large Motor; while struggling to reset zero angle, and absolutely rotate to a desired angle, i found:
I do not think
Tachomotor
rotateByDegrees
should allow a negative number fordegrees
aswriteUInt32LE
will yield unexpected results.https://github.com/nathankellenicki/node-poweredup/blob/e4c68e5749be0ac96bc4296c87ff10b28b96af6a/src/devices/tachomotor.ts#L157
I am not sure what
normalizeAngle
does, but it contains a bunch of math that eventually just cancels out. https://github.com/nathankellenicki/node-poweredup/blob/e4c68e5749be0ac96bc4296c87ff10b28b96af6a/src/utils.ts#L36Would you consider opening up Discussions?. I am looking for help using the Technic Large Motor to steer the off road buggy - but don't want to clutter up Issues with non-bugs.
I used this library to make a web page to control kid's duplo train a few years ago, and it's still kicking. Just updated your lib from 1.x => 8.x. So thanks!