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

IMU Transformation AL article & Small IMU Docs Update #706

Merged
merged 57 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
6cf8034
push imu transformations alpha labs article for review
rennis250 Jul 26, 2024
2fa58eb
use terminology for matrix application that is in line with math lite…
rennis250 Jul 26, 2024
3e9d5bb
make it easier for users to learn why it is "-90 - 12" for scene->to-…
rennis250 Jul 26, 2024
81efe89
incorporate latest changes, add supporting images
rennis250 Aug 12, 2024
50f2b25
add eyestate_to_world function
rennis250 Aug 12, 2024
8ea73ad
add cartesian_to_spherical_world function and some explanation; small…
rennis250 Aug 15, 2024
43a8e7d
@n-m-t 's edits
N-M-T Aug 16, 2024
6c5841d
Update index.md
N-M-T Aug 16, 2024
19a6d1f
Update index.md
N-M-T Aug 16, 2024
a860f45
Add YT link
N-M-T Aug 16, 2024
b499ddd
Remove YT link
N-M-T Aug 16, 2024
3ba910f
fix some typo's, clarify meaning of spherical coordinates in world sy…
rennis250 Aug 19, 2024
ca541ba
try out code snippets vitepress extension
rennis250 Aug 21, 2024
ff08b4b
test submodule + line specific code snippet import
rennis250 Aug 21, 2024
ec8dcb9
test variants for "inlining" the code in the docs
rennis250 Aug 21, 2024
2e39a75
make scene_to_imu pseudo-code more compact
rennis250 Aug 21, 2024
156298f
implement @mgg's codegroup and include approach
rennis250 Aug 21, 2024
9d96034
add gaze_scene_to_world to codegroup test
rennis250 Aug 21, 2024
b3ad60f
cleanup submodule & code snippet imports, make imu alpha lab opening …
rennis250 Aug 21, 2024
cc8a873
small cleanup
rennis250 Aug 21, 2024
623274b
update github workflows to accomodate importing code snippets from a …
rennis250 Aug 21, 2024
b96ddb2
transition away from gist approach, restructure/compactify imu code, …
rennis250 Aug 22, 2024
9c9c72b
adapt text + code better to new format
rennis250 Aug 22, 2024
d458968
undo github actions submodule changes; add imu+scene diagram as png
rennis250 Aug 22, 2024
cf2a6fe
tiny cleanup
rennis250 Aug 22, 2024
01f3160
make R import from scipy clearer; fix small code typo
rennis250 Aug 22, 2024
eb76bb4
tidy formatting a bit
rennis250 Aug 22, 2024
9834242
fix homogeneous part of transform_scene_to_imu based on results of my…
rennis250 Aug 22, 2024
c1b6182
further generalize + compress + simplify; re-tested new functions and…
rennis250 Aug 22, 2024
8696283
simplify homogeneous coordinates part a bit; fix typo
rennis250 Aug 22, 2024
ea482c2
unproject 2d gaze rather than convert 3d gaze from spherical to carte…
rennis250 Aug 23, 2024
a895e51
revert section title change
rennis250 Aug 23, 2024
e36c969
implement new suggestions: link to calib loading doc, re-order sectio…
rennis250 Aug 23, 2024
449f707
shorter section title
rennis250 Aug 23, 2024
ca01fbb
- implement remaining changes for IMU alpha labs article
rennis250 Sep 2, 2024
ba04e2d
fix youtube preview link
rennis250 Sep 2, 2024
7f5a73f
formatting
rennis250 Sep 2, 2024
57762e4
formatting
rennis250 Sep 2, 2024
4778197
compress imu docs a bit, some tweaks for alpha labs article
rennis250 Sep 2, 2024
2ab1b53
add tip about pos/neg rotations
rennis250 Sep 2, 2024
9b154a0
compress tip about pos/neg leftward rotations
rennis250 Sep 2, 2024
8817a78
find a better place for leftward pos/neg rotations
rennis250 Sep 2, 2024
38b8cf1
Iterated on content
Sep 3, 2024
548ae4d
remove tip about neon positioning and leftward pos/neg rotations
rennis250 Sep 3, 2024
739440c
Iterated on content
Sep 3, 2024
42af1c1
Bring back the spehrical world coordinates section
Sep 3, 2024
b723b8d
Merge branch 'imu_alpha_labs2' of https://github.com/pupil-labs/pupil…
Sep 3, 2024
35083cf
Merge pull request #707 from pupil-labs/imu_alpha_labs2
marc-tonsen Sep 3, 2024
a7b3b4a
Merge branch 'master' into imu_alpha_labs
rennis250 Sep 3, 2024
3c95c09
transform_scene_to_world incorporates scene camera offset, so adapt e…
rennis250 Sep 3, 2024
273fae4
Fix link
Sep 3, 2024
e1fd6cb
remove audio from youtube video
rennis250 Sep 3, 2024
67bcd4e
data-format: Fixed typo on directly and slight improve the text.
mikelgg93 Sep 4, 2024
1b432f9
update youtube link
rennis250 Sep 4, 2024
fdd9a4c
Fixed link
mikelgg93 Sep 4, 2024
babf8bd
Bump Node version to 22, as 18 is soon to be deprecated in GH Actions
mikelgg93 Sep 4, 2024
4d58143
keep code example alongside the article
rennis250 Sep 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/PR-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
name: 📦 ${{ matrix.component }} build
name: 📦 ${{ matrix.component }} build
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./${{ matrix.component }}
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: 'Check Grammar'
- name: "Check Grammar"
id: cspell
uses: streetsidesoftware/cspell-action@v5
with:
Expand Down
51 changes: 25 additions & 26 deletions .github/workflows/build-deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./neon
Expand All @@ -32,13 +32,13 @@ jobs:
- name: Make build
working-directory: ./neon
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
name: neon
path: neon/.vitepress/dist

invisible:
name: Build Invisible
runs-on: ubuntu-latest
Expand All @@ -49,12 +49,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./invisible
run: npm install

# Copy node modules to provide dependencies for shared components in root folder
- name: Copy node_modules
shell: bash
Expand All @@ -65,13 +65,13 @@ jobs:
- name: Make build
working-directory: ./invisible
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
name: invisible
path: invisible/.vitepress/dist

core:
name: Build Core
runs-on: ubuntu-latest
Expand All @@ -82,12 +82,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./core
run: npm install

# Copy node modules to provide dependencies for shared components in root folder
- name: Copy node_modules
shell: bash
Expand All @@ -98,13 +98,13 @@ jobs:
- name: Make build
working-directory: ./core
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
name: core
path: core/.vitepress/dist

alpha-lab:
name: Build Alpha Lab
runs-on: ubuntu-latest
Expand All @@ -115,12 +115,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./alpha-lab
run: npm install

# Copy node modules to provide dependencies for shared components in root folder
- name: Copy node_modules
shell: bash
Expand All @@ -131,7 +131,7 @@ jobs:
- name: Make build
working-directory: ./alpha-lab
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
Expand All @@ -148,12 +148,12 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 22

- name: Install dependencies
working-directory: ./landing-page
run: npm install

# Copy node modules to provide dependencies for shared components in root folder
- name: Copy node_modules
shell: bash
Expand All @@ -164,19 +164,19 @@ jobs:
- name: Make build
working-directory: ./landing-page
run: npm run docs:build

- name: Upload
uses: actions/upload-artifact@v3
with:
name: landing-page
path: landing-page/.vitepress/dist

debugging-info:
name: Upload debugging info
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: Write commit SHA to gitcommit.txt
shell: bash
run: |
Expand All @@ -203,13 +203,13 @@ jobs:
shell: bash
run: |
du -ah .

- name: Download gitcommit
uses: actions/download-artifact@v3
with:
name: gitcommit
path: gitcommit.txt

- name: Download Neon
uses: actions/download-artifact@v3
with:
Expand All @@ -221,13 +221,13 @@ jobs:
with:
name: invisible
path: invisible/

- name: Download Core
uses: actions/download-artifact@v3
with:
name: core
path: core/

- name: Download AlphaLab
uses: actions/download-artifact@v3
with:
Expand All @@ -248,7 +248,6 @@ jobs:
remote_host: ${{ secrets.REMOTE_HOST}}
remote_user: ${{ secrets.REMOTE_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}


deploy-production:
name: Deploy to production
Expand All @@ -272,13 +271,13 @@ jobs:
with:
name: invisible
path: invisible/

- name: Download Core
uses: actions/download-artifact@v3
with:
name: core
path: core/

- name: Download AlphaLab
uses: actions/download-artifact@v3
with:
Expand Down
Loading
Loading