Releases: simonsobs/socs
v0.5.7
What's Changed
v0.5.7 introduces type 2 and 3 scans to the ACU agent, connection robustness for several agents, as well as a few bug fixes.
New Features
- acu: Add type 2 and 3 scans to generate scan by @skhrg in #917
- acu: Publish important scan param information to a feed by @mhasself in #933
- hwp-pmx: Make PMX a subclass of TCPInterface by @BrianJKoopman in #916
- ls425: Make acq process robust to serial read errors by @ykyohei in #926
- wg-tiltsensor: Reconnect to sensor automatically by @sadachi5 in #924
Bug Fixes
- tc400: Fix expected turbo response to 'unready_turbo' by @mjrand in #929
- acu: Compute az center correctly by @skhrg in #932
- Fix to IRIG timing bug by @bbixler500 in #940
- Fix recursion error in moxa_serial module by @BrianJKoopman in #935
Documentation
- device_emulator: Add docstring for socket_port attribute and explain port 0 by @BrianJKoopman in #934
Version Updates
New Contributors
Full Changelog: v0.5.6...v0.5.7
v0.5.6
What's Changed
v0.5.6 adds some new fields to the pysmurf-controller and tc400 agents. It also includes several bug fixes.
New Features
- pysmurf-controller: Add new feed for relock alarm by @yoshinori-0778 in #919
- tc400: Add more fields to agent acq process by @mjrand in #907
Bug Fixes
- ACU: Fix duplicate status data bug by @mhasself in #918
- SRS CG635: Add ValueError handling by @davidvng in #912
- wg-actuator: Fix limit switch issue at extreme boresight angles by @sadachi5 in #920
- Add missing params to SMuRF file emulator tasks by @BrianJKoopman in #925
Version Updates
- pysmurf-controller: Update sodetlib version in Dockerfile by @tristpinsm in #923
Full Changelog: v0.5.5...v0.5.6
v0.5.5
What's Changed
v0.5.5 introduces the SRS CG635 clock generator agent and several new features in existing agents, mostly the ACU agent.
New Agents
New Features
- ACU: Read out the LAT tiltmeter by @mhasself in #895
- ACU: Restore and enhance "fromfile" functionality by @mhasself in #876
- ACU: Add "special_action" task for unstow and elsync by @mhasself in #900
- pysmurf-controller: Return status from RssiRestart in session.data by @tristpinsm in #896
- ACU: Add new LAT datasets by @mhasself in #902
- ACU: Return without action if shutter already in requested state by @mhasself in #905
- ACU: Read out HVAC fields by @mhasself in #911
- ACU: Add broadcast_ext process to sample the PositionBroadcast_Ext 200 Hz streams by @mhasself in #914
- pysmurf-controller: Add fields to
session.datato track when stream is enabled by @BrianJKoopman in #898
Bug Fixes
Packaging
- Remove lingering references to versioneer by @BrianJKoopman in #901
- Fix failing docker builds in Actions workflows by @BrianJKoopman in #913
Full Changelog: v0.5.4...v0.5.5
v0.5.4
What's Changed
v0.5.4 introduces new features to several agents, as well as several bug fixes and some underlying version/packaging updates in the pysmurf-controller.
New Features
- ACU: motions can be constrained by the HWP state by @mhasself in #865
- ACU: support passive axes in go_to by @mhasself in #880
- hwp-supervisor: Add estimate of rotation direction to HWPState by @ykyohei in #863
- hwp-supervisor: Add enc_freq timestamp and tolerance in acu elevation check by @ykyohei in #890
- pysmurf-controller: Add restart_rssi task by @tristpinsm in #868
- pysmurf-controller: Publish number of good detectors from uxm_relock by @yoshinori-0778 in #859
- Add ability to deactivate slot in smurf crate by @msilvafe in #881
- Make ibootbarAgent compatible with legacy ibootbar by @ykyohei in #861
- stimulator: Publish cold junction temperature to feed by @dixilo in #892
Bug Fixes
- ACU Agent: generate_scan waits for settling, before exiting by @mhasself in #862
- ACU Agent: fix bug that prevents go_to by @mhasself in #884
- pysmurf-controller: Bypass smurf instance for RSSI restart by @tristpinsm in #872
- syncbox: Convert time strings to floats in microseconds by @davidvng in #852
- suprsync: Change default chmod to set world-readable by @BrianJKoopman in #873
- hwp-supervisor: Set longer timeout for grip commands by @BrianJKoopman in #883
- hwp-gripper: Fix alarm message handling by @ykyohei in #889
- tc400: Fix bug causing error when turning off turbo by @mjrand in #887
Version Updates
- pysmurf-controller: Update sodetlib version to v0.5.4 by @tristpinsm in #870
Packaging
- Install sodetlib in the pysmurf_controller docker by @tristpinsm in #858
Misc.
- Drop all LS372 agent integration tests by @BrianJKoopman in #878
- pysmurf-monitor: Log db write time as debug by @BrianJKoopman in #885
New Contributors
- @tristpinsm made their first contribution in #858
- @yoshinori-0778 made their first contribution in #859
Full Changelog: v0.5.3...v0.5.4
v0.5.3
What's Changed
v0.5.3 introduces several new agents, mostly related to the LAT stimulator, as well as many new features and bug fixes.
The only breaking change is #853, which deals with the ACU and requires the latest version of soaculib and some changes to the ACU agent configuration. See #853 for details.
New Agents
- Add Agent to support RTSP compatible IP cameras by @tskisner in #605
- Add agent for the Lightning Detector by @felipecarrero in #640
- Add devantech dS378 ethernet relay agent by @dixilo in #694
- Add KIKUSUI PCR500MA AC power supply agent by @dixilo in #818
- Oriental Motor BLH controller agent for stimulator by @dixilo in #690
- Add stimulator thermometer agent by @dixilo in #695
- Implement stimulator encoder agent and drivers by @dixilo in #612
New Features
- Create
TCPInterfaceclass as base class for TCP based interfaces to devices by @BrianJKoopman in #769 - Improve robustness of hwp_pcu by @ykyohei in #797
- Add posisition to wiregrid actuator agent session data @d-hoshino2626 in #794
- Make bluefors file search case insensitive by @BrianJKoopman in #814
- Add flags for ACU checking to hwp supervisor @jlashner in #802
- Add number of active channels to pysmurf controller check_state @jlashner in #813
- Add checks to grip_state before attempting HWP spinup by @jlashner in #824
- Add check tasks to hwp-pmx by @ykyohei in #801
- Check controller alarm before grip and ungrip by @ykyohei in #807
- PysmurfController: Publish check_state results to feed by @davidvng in #855
- ACU: Take most configuration from the acu-configs.yaml by @mhasself in #853
- suprsync: Add support to chmod files on transfer by @jlashner in #826
- ACU: create set_shutter task to open/close shutter @mhasself in #849
- hwp_supervisor: Add wait in pmx_off, add max_duration for spin up @ykyohei in #837
- ACU: Keep at least 3 seconds of points uploaded to program track @mhasself in #846
- LATRt XY Stage: Create enable/disable tasks by @kmharrington in #419
Bug Fixes
- Handle disabled gagues in Pfeiffer agent @tanaybhandarkar in #145
- RTSP Camera Agent: fix docker dependency and make copy for latest file by @davidvng in #800
- Add timeout after setting HWP PID parameters @bbixler500 in #803
- ld-monitor: Fix conifg examples and add to plugin file by @BrianJKoopman in #811
- ld-monitor: Remove
session.set_status()calls and define protocol in compose example by @BrianJKoopman in #812 - ScpiPsuAgent: Fix get_output() return value by @BrianJKoopman in #815
- RTSPCameraAgent: connection robustness by @davidvng in #816
- RTSPCameraAgent: Catch reconnection failures @davidvng in #832
- Fix wiregrid_encoder irig time conversion by @ykyohei in #856
- ACU: Retry failed upload points by @mhasself in #857
- hwp-pmx: Fix device name in error message @ykyohei in #850
- Add irig_minus_sys to HWP encoder agent feed @ykyohei in #845
- Fix module name for PCR500MA agent plugin @dixilo in #835
- Fix module name for DS378 agent plugin @dixilo in #836
Documentation
- Fix small docstring issues on pysmurf-controller tasks by @BrianJKoopman in #829
- Add default pmx_off arguments to docstring by @BrianJKoopman in #839
Version Updates
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #819
Packaging
- Pin sotodlib by @BrianJKoopman in #806
- Update gclib URL to point to new wheel by @BrianJKoopman in #840
- Fix bug in building image of wiregrid_actuator by @sadachi5 in #833
Misc.
- Add default to input_configfile param by @jlashner in #535
- Replace YieldingLock with ocs TimeoutLock by @BrianJKoopman in #772
New Contributors
- @tskisner made their first contribution in #605
- @felipecarrero made their first contribution in #640
- @dixilo made their first contribution in #694
Full Changelog: v0.5.2...v0.5.3
v0.5.2
What's Changed
v0.5.2 mostly consists of minor new features and many bug fixes. We have also updated the build backend, resulting in slight changes in the final source distribution. The tests/ directory is no longer included. Those looking to run the tests should get them directly from this repository.
The base ocs docker image has been updated to remove several redundant base layers in #714. See simonsobs/ocs#397 for some of the details. This should result in smaller socs images. If you care about the structure of the image, take note that so3g is now pip installed instead of being compiled in lower down base layers.
Some breaking changes -- the ACTiCameraAgent was renamed to HTTPCameraAgent to reflect broader applicability to more models of webcam. See the agent docs for updated configuration examples. Also, the 'fake_data' argument in the Lakeshore372 Agent that would generate random data for testing as been removed. If you're looking to test your ocs/Grafana setup, use the ocs FakeDataAgent.
New Features
- Update ACTiCameraAgent to HTTPCameraAgent to include other HTTP camera brands by @davidvng in #700
- Added sample heater display mode check in custom_pid function. by @mjrand in #729
- Adds grip and ungrip fns to hwp-supervisor with safety checks by @jlashner in #708
- Scpi psu reconnect by @agthomas-uc in #726
- Adding support for direct Ethernet SCPI PSU Agent by @CAWNoodle in #715
- Adds extra db connection options to suprsync agent by @jlashner in #748
- HWP Encoder Update (Restart process) by @bbixler500 in #738
- HWP Gripper Updates (Alarm group and restart processes) by @bbixler500 in #737
- Add error handling to Cryomech PTC drivers and agent acq process by @BrianJKoopman in #767
- ACU: more care when setting up go_to by @mhasself in #768
- ACU: acuconfigs.yaml setting for forcing sequential moves by @mhasself in #778
Bug Fixes
- added handling of pid error response by @bbixler500 in #686
- hw_pid: delete initial set_direction by @ykyohei in #703
- HWP supervisor agent brake bugfix by @bbixler500 in #720
- HWP supervisor iboot indexing bugfix by @bbixler500 in #722
- Publish BF logs only if data extracted from them by @BrianJKoopman in #530
- HTTPCameraAgent Handle token lease and usage by @davidvng in #731
- Various HTTPCameraAgent Fixes by @davidvng in #733
- pysmurf-monitor main process robustness by @jlashner in #732
- HTTPCameraAgent write file change by @davidvng in #740
- HTTPCameraAgent Add more exceptions by @davidvng in #746
- Fix 2 ACU bugs by @mhasself in #747
- Ls372 custom pid update by @mjrand in #753
- Inconsequential correction to IFM SBN246 temperature decode. by @swh76 in #761
- Add optional encoding to moxa
Serial_TCPServerby @d-hoshino2626 in #764 - hwp-pid direction read bugfix by @bbixler500 in #728
- Fix typo in pysmurf-controller relock function by @jlashner in #783
Documentation
- Remove unused --mode arg from example config by @BrianJKoopman in #719
- Fix typo in the docstrings for bias commands by @BrianJKoopman in #777
Version Updates
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #713
- Bump simonsobs/ocs from v0.11.1-1-gb6cbd88 to v0.11.1-9-gfe03421 by @dependabot in #741
- Bump simonsobs/ocs from v0.11.1-9-gfe03421 to v0.11.2-8-gfa333dd by @dependabot in #751
- Bump simonsobs/ocs from v0.11.2-8-gfa333dd to v0.11.3-3-g63fd5ef by @dependabot in #757
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #773
Packaging
- Update ocs base image to use newly reworked image by @BrianJKoopman in #714
- Pin pysnmp version to 4.4.12 by @davidvng in #718
- Switch build-backend from setuptools to hatchling by @BrianJKoopman in #758
- Bug fix of wiregrid_actuator/Dockerfile for Ubuntu update by @sadachi5 in #759
Misc.
- Set timeout for pytest workflow to 1 hour by @BrianJKoopman in #742
- cryomech: Move PTC class to drivers module by @BrianJKoopman in #771
- Remove 'fake_data' arg for random data generation by @BrianJKoopman in #776
New Contributors
- @agthomas-uc made their first contribution in #726
- @CAWNoodle made their first contribution in #715
- @swh76 made their first contribution in #761
Full Changelog: v0.5.1...v0.5.2
v0.5.1
What's Changed
v0.5.1 solves a packaging issue preventing socs Docker images from building successfully. Images are now based on ocs:v0.11.1. There is a new agent, the Wiregrid Tilt Sensor agent, as well as several new features in various agents. Details below.
New Agents
- New Agent: wiregrid_tiltsensor agent by @d-hoshino2626 in #660
New Features
- Modification the max current setting of the kikusui agent (wire grid) by @hnakata-JP in #683
- Move HWP encoder timeout packet log to debug level by @BrianJKoopman in #684
- Pysmurf op data quality checks by @jlashner in #675
- Modify the max current setting of the wiregrid kikusui agent by @d-hoshino2626 in #701
- Added Psat to published quantiles from take_iv task in pysmurf_controller agent by @msilvafe in #699
- HWP ACU checks for spin-up by @jlashner in #688
Bug Fixes
- Added an
__init__.pyfor hi6200 agent by @mjrand in #692 - hwp-supervisor: make IBootState compatible with synaccess. by @ykyohei in #693
Version Updates
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #680
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #685
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #696
- Bump ocs base image to v0.11.1 by @BrianJKoopman in #710
Packaging
- Pin sphinx-argparse package by @BrianJKoopman in #702
- Pin setuptools by @BrianJKoopman in #704
Misc.
- Update to Docker Compose v2 in docs and workflows by @BrianJKoopman in #709
New Contributors
- @hnakata-JP made their first contribution in #683
- @d-hoshino2626 made their first contribution in #701
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
v0.5.0 contains many new features and bug fixes, as well as two new agents. We also update to use the simonsobs/ocs:v0.11.0 base Docker image. Details below.
New Agents
- Add Hi6200 Agent for reading LN2 on SATp by @mjrand in #555
- Meinberg Syncbox Agent by @davidvng in #558
New Features
- ACTi Camera Agent add resolutions as parameter by @davidvng in #626
- HWP Emulation and PID agent lockless restructure by @jlashner in #606
- Supervisor actions by @jlashner in #628
- SynAccess agent add outlet names by @davidvng in #627
- Vantage windchill by @RemingtonGerras in #550
- Add bias wave task to pysmurf-controller agent by @bkelle in #633
- Moves pysmurf-controller functions that load lots of data to subprocess by @jlashner in #669
- prints errors caught in the pysmurf-controller subprocesses by @jlashner in #674
- Supervisor updates by @jlashner in #634
- Change check range of gripper distance by @ykyohei in #635
- Safer grip and add ungrip by @ykyohei in #646
- Supervisor functionality for enabling/disabling HWP driver board by @jlashner in #653
Bug Fixes
- hwp-pcu: more robust get_status by @ykyohei in #608
- Fix some time-out / delay bugs in ACU agent by @mhasself in #623
- Fix 'encoder_data' field when storing session.data by @BrianJKoopman in #621
- Update on the treatment of logfile and log directory for the wiregrid kikusui agent by @sadachi5 in #615
- moves callbacks to reactor in PCU agent by @jlashner in #632
- Revert UV index scaling in vantage agent by @BrianJKoopman in #636
- error handling for flowmeter agent by @sanahabhimani in #649
- Run nan_to_num on quantiles by @jlashner in #655
- ACU: fix crash of monitor_sun when ACU not on by @mhasself in #663
- hwp-pmx: reset protection code in clear_alarm by @ykyohei in #641
- Changed string handling to account for multiple responses by @bbixler500 in #662
- Remove mibBuilder from MBG-SYNCBOX-N2X-MIB.py by @davidvng in #666
- Removes subclassing for ControlStates by @jlashner in #658
Documentation
- Remove incompatible network_mode from example config by @BrianJKoopman in #613
- add documentation of udev rules for hwp-pcu by @ykyohei in #622
- Add Meinberg Syncbox Agent docs to index by @BrianJKoopman in #668
- Added additional docstrings information for HWP PID Agent by @bbixler500 in #667
Version Updates
- Update sphinx requirements version by @msilvafe in #618
- Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 by @dependabot in #624
- bump sodetlib by @jlashner in #642
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #644
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #654
- Bump simonsobs/ocs from v0.10.4 to v0.11.0 by @dependabot in #665
Misc.
- Remove flaky moxa tests by @BrianJKoopman in #650
- Drop flaky PMX tests by @BrianJKoopman in #652
- Re-run pre-commit on all files by @BrianJKoopman in #659
- Organize badges, define supported Python versions, and update versioneer by @BrianJKoopman in #673
- Fix tests runner badge in README by @BrianJKoopman in #676
- Remove instances of session.set_status('starting') by @mhasself in #664
- Remove all instances of
session.set_status('running')by @BrianJKoopman in #671
New Contributors
Full Changelog: v0.4.5...v0.5.0
v0.4.5
What's Changed
v0.4.5 contains a large collection of new features and bug fixes, as well as two new agents. See details below.
New Agents
- Create Site Camera Agent by @davidvng in #591
- Create HWP PCU Agent for the HWP phase compensation unit by @17-sugiyama in #588
New Features
- ACU: LAT co-rotator control by @mhasself in #526
- ACU: adjustments for moving LAT corotator by @mhasself in #532
- ACU: Improve scanning fault tolerance and logging by @mhasself in #547
- ACU: Add abilities to ignore axis and prevent survival mode (LAT) by @mhasself in #554
- ACU: Sun Avoidance by @mhasself in #559
- Add general task to set TES biases by @jlashner in #545
- Improve HWP agents robustness to network failure by @bbixler500 in #541
- Add
speedrateparameter forinsert()/eject()functions inwiregrid_actuatorby @sadachi5 in #574 - ACU: Add set_speed_mode task by @mhasself in #582
- ACU: Add feeds for Sun info and UDP stream quality by @mhasself in #570
- TimeoutLockless PCU agent by @jlashner in #600
- TimeoutLockless HWP PMX agent by @ykyohei in #604
- ACU: Add "named-positions" feature by @mhasself in #603
Bug Fixes
- Make vantage agent more robust to hardware dropouts by @jlashner in #524
- Set M1000 Agent acq session status appropriately by @BrianJKoopman in #528
- Set acq session status appropriately by @sanahabhimani in #533
- Fix UVI readout and temperature units in Vantage Agent by @RemingtonGerras in #539
- Set acq session status to running by @sanahabhimani in #549
- Allow floats for custom PID task arguments by @BrianJKoopman in #548
- Suprsync update tcdirs by @jlashner in #564
- PWV: Catch HTTP requests error by @sanahabhimani in #563
- Bugfix in zero-biases fn by @jlashner in #566
- Add connection error exception by @sanahabhimani in #569
- Adds except for caget failure by @jlashner in #576
- PWV: Add timeout exception error and timeouts by @sanahabhimani in #578
- HWP: Change variable name to fix minor bug by @bbixler500 in #581
- Fix bug in speed_rate limitation in wiregrid_actuator/drivers/Actuator.py by @sadachi5 in #579
- HWP: Change monitor and spin_control processes to update the session.status to 'running' by @bbixler500 in #585
- PWV: Change HTTP requests timeout to 60s by @sanahabhimani in #587
- ACU: Permit scans on LAT even when Sun Avoidance is not to be enabled by @mhasself in #586
- Restart UPS Agent every 60 minutes by @davidvng in #592
- Prevent Suprsync from processing ignored files by @jlashner in #583
- Make hwp_pid more robust by @ykyohei in #594
- ACU: Fix sun-safety and speed exceeded motion faults by @mhasself in #603
Documentation
- Add missing in pysmurf-controller docstrings by @BrianJKoopman in #553
- Add example session.data structure for labjack acq process by @BrianJKoopman in #557
Version Updates
- Bump docker/login-action from 2 to 3 by @dependabot in #525
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #519
- Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 by @dependabot in #537
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #540
- Bump sodetlib docker by @jlashner in #561
- Bump simonsobs/ocs from 0.10.2 to v0.10.3 by @dependabot in #572
- Bump actions/setup-python from 4 to 5 by @dependabot in #590
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #596
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #597
- Bump simonsobs/ocs from v0.10.3 to v0.10.4 by @dependabot in #609
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #610
Misc.
- Cleanup gripper agent by @jlashner in #487
- Add docker updates to dependabot and set reviewers by @BrianJKoopman in #571
- Move requests package from separate group into
install_requiresby @BrianJKoopman in #595 - Adds HWPPCUAgent to plugin file by @jlashner in #598
New Contributors
- @17-sugiyama made their first contribution in #588
Full Changelog: v0.4.4...v0.4.5
v0.4.4
Description
v0.4.4 introduces 3 new agents, and contains a large collection of feature additions and bug fixes. See details below.
What's Changed
New Agents
- Generator Agent by @davidvng in #436
- Hwp supervisor by @jlashner in #427
- Water Vapor Radiometer Agent by @sanahabhimani in #429
New Features
- Adds user tag param to the smurf file emulator ops by @jlashner in #459
- Add protection mode monitoring to pmx agent by @d1ssk in #463
- Suprsync timecode dir finalization by @jlashner in #454
- Allow for reading more than one continuous block of generator registers by @DaveBoettger in #473
- ACU Omnibus, July 2023 by @mhasself in #480
- Add Autorange Task to 372 Agent by @sanahabhimani in #489
- Change ls372 input_configfile to work with default params by @jlashner in #490
- Suprsync archive stats by @jlashner in #467
- LS372 Agent: Add ability in config file to set channel resistance range by @sanahabhimani in #500
- Sets PID freq to 0 when PMX is turned off by @jlashner in #502
Bug Fixes
- Fix 372 upload cal curve timeout issue by @sanahabhimani in #390
- Separate generator fields into different blocks by @jlashner in #476
- ACU Omnibus, July 2023 by @mhasself in #480
- Separate blocks for each input/output in UPS Agent by @davidvng in #457
- Fix ibootbar agent acq crashing during reconnection by @davidvng in #496
- Adds archive_name filter to update timecode func by @jlashner in #508
- Remove CMD from wg-actuator dockerfile by @BrianJKoopman in #510
- swap LSL/LSR/ST1 <--> LSL/LSR/ST2 for the bug fix at the site by @sadachi5 in #512
Documentation
- Fix docstring errors for 372 custom pid process by @sanahabhimani in #497
- Update set_boresight method signature override by @BrianJKoopman in #499
Testing Updates
- Replace pytest-docker-compose with pytest-docker plugin by @BrianJKoopman in #484
Version Updates
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #514
- bump sodetlib by @jlashner in #517
Misc.
- Revert to using pysnmp by @BrianJKoopman in #485
- Fix link to docker hub socs image by @BrianJKoopman in #503
- Cherry-pick of missed pre-commit run by @BrianJKoopman in #513
New Contributors
- @d1ssk made their first contribution in #463
- @DaveBoettger made their first contribution in #473
Full Changelog: v0.4.3...v0.4.4