nexdome / Firmware

NexDome Dome and Shutter Motor Kit Firmware
https://www.nexdome.com
Other
3 stars 6 forks source link

Release 3.2.0 #23

Closed NameOfTheDragon closed 4 years ago

NameOfTheDragon commented 4 years ago

This firmware release adds a new High Precision Slewing feature and improves the operation of the shutter close limit sensor under adverse conditions.

High Precision Slewing #20

Shutter Close Limit Idempotency #22

Per issue #22 it was found that under some (not very well understood) circumstances the close limit sensor can be re-triggered multiple times as the shutter approaches the magnet. Most installations don't exhibit this problem and the root cause, probably mechanical, could not be fully determined. However the firmware reacted badly to this situation and clearly needed to be improved.

The close limit sensor should be idempotent, that is, triggering it multiple times should produce the same result as triggering it once. The firmware has been updated to ensure that the close limit sensor is idempotent. The onMotorStopped() event re-arms the close limit sensor and allows it to be triggered again. The effect is that the close limit sensor can now only be triggered once while the motor is running, which gives the desired result. Closes #22