fw: Add Motion Sensitivity setting and LSM6DSO mapping#419
Conversation
2509143 to
bb3d758
Compare
gmarull
left a comment
There was a problem hiding this comment.
should we add this to debug, find the right threshold and fix it? Feels like users should not really have so many options.
bb3d758 to
f688d7a
Compare
Add an Asterix-only settings menu and preference (0-100%, default 100%) to control accelerometer shake sensitivity. Expose shell prefs and UI labels, and store the value in prefs_values. Introduce accel_manager_update_sensitivity and a driver API to set percent. Driver interpolates between board low/high wake thresholds (100% = most sensitive = low threshold), clamps values, logs changes, and reconfigures shake detection immediately. Signed-off-by: Joshua Jun <joshuajun@proton.me>
f688d7a to
8ba5ce2
Compare
|
Don't think that there is an right threshold. Peoples have different preferences. The users should be able to have some options for this. |
Agreed, but this first needs some debugging to determine which options make sense to expose to the users. |
Add an Asterix-only settings menu and preference (0-100%, default 100%) to control accelerometer shake sensitivity. Expose shell prefs and UI labels, and store the value in prefs_values. Introduce accel_manager_update_sensitivity and a driver API to set percent. Driver interpolates between board low/high wake thresholds (100% = most sensitive = low threshold), clamps values, logs changes, and reconfigures shake detection immediately.