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.
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.