Short-bus / pilomar

RaspberryPi based miniature observatory
https://shortbus.blog/
GNU General Public License v3.0
63 stars 14 forks source link

Move more motor parameters into parameter file. #52

Closed Short-bus closed 5 months ago

Short-bus commented 6 months ago

Some motor parameters are currently hardcoded. The same values must be maintained in src/pilomar.py and circuitpython/code.py if a build uses different motors or modifies the drive mechanism. If the software is then updated, any locally changed values will be replaced with the master copy values. Take more of the motor settings from the parameter file so that there is a single point to define them and they are retained across software versions.

Add GearRatio, MotorStepsPerRev, MicrostepRatio and RestAngle to the 'configure motor' message.

Short-bus commented 6 months ago

2024-01-issues branch has these changes in place.

Short-bus commented 5 months ago

Done.