dzid26 / StepperServoCAN

Closed loop stepper motor controller with CANbus capabilities. This Project open source hardware and code, support platformio build and upload firmware.
https://shop.retropilot.org/product/stepperservocan
19 stars 5 forks source link

Direction not learnt #2

Closed dzid26 closed 1 year ago

dzid26 commented 2 years ago

SystemParams.dirRotation shall be set on first start, after setting motorParams.motorWiring.

Default is sensor rotating clockwise when looking from the back of the motor = positive command motor movement values.

dzid26 commented 1 year ago

Or let the user just flip the direction value depending on their output setup.