Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensor failure recovery, support calibration to the antenna, save onboard cals separately, cal on startup #281

Merged
merged 59 commits into from
Mar 29, 2024

Conversation

dboulware
Copy link
Contributor

This restores scos-sensor's ability to restart and recover from severe failures. In addition, support is added for a differential calibration file to allow for additional loss to move the reference point to the antenna. Onboard calibrations are modified to save to an onboard calibration file and the initial sensor calibration file is never altered to protect it from being corrupted during a shutdown or failure. Finally, settings are added to enable calibrations to optionally be performed on startup if the any calibrations occurred beyond a configurable amount of time in the past. Note: this will need requirements updating when scos-actions and scos-tekrsa PRs are merged.

aromanielloNTIA and others added 30 commits January 25, 2024 19:03
now handle sensor and differential calibrations
and pass loaded actions dictionary to constructor
…m settings since it is used in scos-actions.
…on/__init__.py to ensure healthy signal analyzer.
@aromanielloNTIA aromanielloNTIA marked this pull request as ready for review March 27, 2024 22:10
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
env.template Outdated Show resolved Hide resolved
env.template Outdated Show resolved Hide resolved
Copy link
Member

@jhazentia jhazentia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just some minor comments

README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
No longer make this function arbitrarily distinguish between "onboard" and "sensor" calibrations
remove preamp_enable and attenuation cal parameters from example JSON
Copy link
Member

@jhazentia jhazentia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jhazentia jhazentia merged commit b164d39 into master Mar 29, 2024
4 checks passed
@jhazentia jhazentia deleted the calibrate_to_antenna branch March 29, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants