panoptes / POCS

An Observatory Control System for the PANOPTES citizen-science project designed to help find transiting exoplanets! :telescope: :stars:
https://pocs.readthedocs.io/en/latest/
MIT License
78 stars 49 forks source link

Update serial focuser and subclasses #1135

Closed danjampro closed 3 years ago

danjampro commented 3 years ago

Merge huntsman-pocs serial focuser changes into pocs, delivering speed ups of 5x on focuser position commands.

How Has This Been Tested?

Tested on hardware.

codecov[bot] commented 3 years ago

Codecov Report

Merging #1135 (f3ac498) into develop (713e08d) will increase coverage by 0.27%. The diff coverage is 59.12%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1135      +/-   ##
===========================================
+ Coverage    83.22%   83.50%   +0.27%     
===========================================
  Files           82       86       +4     
  Lines         7040     7358     +318     
  Branches       608      627      +19     
===========================================
+ Hits          5859     6144     +285     
- Misses        1011     1042      +31     
- Partials       170      172       +2     
Impacted Files Coverage Δ
src/panoptes/pocs/camera/gphoto/base.py 100.00% <ø> (ø)
src/panoptes/pocs/sensor/remote.py 85.00% <ø> (ø)
src/panoptes/pocs/utils/logger.py 100.00% <ø> (ø)
tests/scheduler/test_base_scheduler.py 100.00% <ø> (ø)
tests/scheduler/test_dispatch_scheduler.py 94.11% <ø> (ø)
src/panoptes/pocs/mount/ioptron/ieq30pro.py 19.49% <5.88%> (+0.68%) :arrow_up:
src/panoptes/pocs/focuser/astromechanics.py 32.14% <25.00%> (+5.02%) :arrow_up:
src/panoptes/pocs/focuser/serial.py 46.93% <30.76%> (+23.12%) :arrow_up:
src/panoptes/pocs/sensor/power.py 41.97% <39.53%> (ø)
src/panoptes/pocs/mount/ioptron/cem40.py 40.34% <44.24%> (+13.14%) :arrow_up:
... and 29 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 26ceae1...f3ac498. Read the comment docs.