Every-Flavor-Robotics / motorgo-mini-driver

Driver software for the MotorGo Mini board
MIT License
2 stars 1 forks source link

Separate MotorConfiguration and ChannelConfiguration #81

Closed SwapnilPande closed 6 months ago

SwapnilPande commented 6 months ago

Closes #70 Closes #78

SwapnilPande commented 6 months ago

@stilsota Requesting a test on the balance bot one more time to make sure that the PTZ motors are capable of balancing still

SwapnilPande commented 6 months ago

Latest changes enforce the current limit in voltage control mode as well, and allow for defining the driver voltage/current limits in the board definitions. We'll eventually have to submit another PR to Arduino ESP32 core adding these limits.

SwapnilPande commented 6 months ago

Latest changes remove KV, Phase Resistance, and set voltage limit of the MotorGo Green motor to be within the safe bounds for the MotorGo Mini drivers. #88, #89 opened to track adding these back in.

SwapnilPande commented 6 months ago

Merging - tested on Scout balance bot. The current limit will still brown out a computer power supply, but not a wall power supply. Added an example in balance bot example code to demonstrate to users how to lower the voltage limit.