TinyG
TinyG copied to clipboard
FW 440.20 Motor Enable behavior
This might apply to earlier recent versions as well, I just noticed it.
When sending $me, Motors enable but time out after $mt seconds.
https://github.com/synthetos/TinyG/wiki/Power-Management#global-power-management-commands does not mention that $me should have a parameter, such as $me=60 for a 60 second ON interval, however there is such an example in the Wiki example.
Note that Chilipeppr is (re)sending $me at a 10 second rate when ME is selected in the tinyG widget. obviously, only works to keep motors locked if $mt=10. Implies that CP implementer reverse engineered behavior, but it does/does-not work depending on value of $mt.
What is the intended behavior?
It appears that $me implies a single shot (duration = 0) event.
If that is the desired/intended behavior, then CP should send $me=10 every 10 seconds to ensure locking stays on until $md AND remain independent of the $mt setting.