-
Notifications
You must be signed in to change notification settings - Fork 1
add accelerometer script for measuring cryocooler vibrations #19
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
Merged
mikelangmayr
merged 9 commits into
main
from
mikelangmayr/cryocooler-accelerometer-scripts
Feb 3, 2026
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5455598
add accelerometer script for measuring cryocooler vibrations
mikelangmayr e609a5a
update folder structure
mikelangmayr 3c3723f
add sunpower low level util
mikelangmayr 2b7feeb
init.d folder to legacy ktl daemon folder
mikelangmayr db92aa8
update accelerometer script to save raw data too with --save flag
mikelangmayr 22152a4
rename daemon folder, add ait folder to sripts
mikelangmayr 7779ed6
remove vibration measurement output
mikelangmayr e4944c5
add update-submodules workflow with codeowners
mikelangmayr 6726b60
update coo-ethercat and lris2-csu submodules
mikelangmayr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Default owners for all files | ||
| * @mikelangmayr @scizen9 @prkrtg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| name: Update Submodules | ||
|
|
||
| on: | ||
| schedule: | ||
| # Run every night at 2 AM UTC | ||
| - cron: '0 2 * * *' | ||
| workflow_dispatch: # Allow manual trigger | ||
|
|
||
| jobs: | ||
| update-submodules: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| submodules: true | ||
| fetch-depth: 0 | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Configure git | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "github-actions[bot]@users.noreply.github.com" | ||
|
|
||
| - name: Update submodules to latest | ||
| id: update | ||
| run: | | ||
| # Update all submodules to their latest remote commits | ||
| git submodule update --remote --init --recursive | ||
|
|
||
| # Check if there are any changes | ||
| if git diff --quiet; then | ||
| echo "has_changes=false" >> $GITHUB_OUTPUT | ||
| echo "No submodule updates found" | ||
| else | ||
| echo "has_changes=true" >> $GITHUB_OUTPUT | ||
| echo "Submodule updates found:" | ||
| git diff --submodule=short | ||
| fi | ||
|
|
||
| - name: Create Pull Request | ||
| if: steps.update.outputs.has_changes == 'true' | ||
| uses: peter-evans/create-pull-request@v6 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| commit-message: "chore: update submodules" | ||
| title: "chore: Update submodules" | ||
| body: | | ||
| This PR updates submodules to their latest commits. | ||
|
|
||
| **Updated submodules:** | ||
| ``` | ||
| ${{ steps.update.outputs.diff || 'See commit for details' }} | ||
| ``` | ||
|
|
||
| --- | ||
| *This PR was automatically created by the update-submodules workflow.* | ||
| branch: automated/update-submodules | ||
| delete-branch: true | ||
| labels: | | ||
| automated | ||
| dependencies |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| [submodule "lris2-csu"] | ||
| path = lris2-csu | ||
| [submodule "src/lris2/util/lris2-csu"] | ||
| path = src/lris2/util/lris2-csu | ||
| url = git@github.com:CaltechOpticalObservatories/lris2-csu.git | ||
| [submodule "utils/coo-ethercat"] | ||
| path = utils/coo-ethercat | ||
| [submodule "src/lris2/util/coo-ethercat"] | ||
| path = src/lris2/util/coo-ethercat | ||
| url = git@github.com:CaltechOpticalObservatories/coo-ethercat.git | ||
| [submodule "src/lris2/util/sunpower"] | ||
| path = src/lris2/util/sunpower | ||
| url = git@github.com:COO-Utilities/sunpower.git |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Submodule lris2-csu
deleted from
dab1ed
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Install deps | ||
|
|
||
| ## Python | ||
| pip install -r requirements.txt | ||
|
|
||
| ## Ubuntu | ||
| sudo apt install portaudio19-dev libportaudio2 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove the "ktl" prefix, and just call it daemons. We'll have a refactor of l2 power later