Skip to content

--sensors: Get information about sensors #143

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
merged 1 commit into from
May 13, 2025
Merged

Conversation

JohnAZoidberg
Copy link
Member

On Framework 12 (now hides non existant ALS):

> framework_tool --sensors -vv
[INFO ] Sensors: 2
[INFO ]   Type: Accel
[INFO ]   Location: Lid
[INFO ]   Chip:     Bma422
[INFO ]   Type: Accel
[INFO ]   Location: Base
[INFO ]   Chip:     Bma422
Accelerometers:
  Lid Angle:  126 Deg
  Sensor 1:   X=-0.01G Y=+0.80G, Z=+0.59G
  Sensor 2:   X=-0.03G Y=+0.00G, Z=+1.00G

@JohnAZoidberg JohnAZoidberg force-pushed the simple-motionsense branch 2 times, most recently from 80dafc0 to 5211d23 Compare May 12, 2025 10:40
On Framework 12:
ALS is not shown anymore and now shows which accel is which.

```
> framework_tool --sensors -vv
[INFO ] Sensors: 2
[INFO ]   Type: Accel
[INFO ]   Location: Lid
[INFO ]   Chip:     Bma422
[INFO ]   Type: Accel
[INFO ]   Location: Base
[INFO ]   Chip:     Bma422
Accelerometers:
  Lid Angle:   118 Deg
  Lid Sensor:  X=+0.00G Y=+0.86G, Z=+0.53G
  Base Sensor: X=-0.03G Y=-0.07G, Z=+1.02G
```

Framework 13

```
> framework_tool --sensors
ALS:  130 Lux
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg
Copy link
Member Author

Tested on Frameork 12 and 13.

@JohnAZoidberg JohnAZoidberg merged commit d30f728 into main May 13, 2025
6 checks passed
@JohnAZoidberg JohnAZoidberg deleted the simple-motionsense branch May 14, 2025 01:58
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.

1 participant