TreasureJim / lego-hkm-control-app

0 stars 0 forks source link

Normalizing the accelerometer data #3

Open TreasureJim opened 1 week ago

TreasureJim commented 1 week ago

What will the feature accomplish / change? The direction of output from accelerometer should have constant X, Y, Z regardless of rotation of the phone

Describe the solution you'd like Using the normalized data from the accelerometer rotate it with a rotation matrix based on the down direction of the phone.

TreasureJim commented 1 week ago

There should also be a multiplier based on a slider to allow for jogging larger vs smaller robots