M5Stackシリーズで内臓センサを使ってp5やUnityと連携させたことのある方は多いかと思います。そこでyawの値が暴走する、いわゆる「ドリフト」が起こってしまうわけですが、それをできるだけ抑えてUnityのオブジェクトと連携させる方法をメモしました。
Flight_controller.ino` — Main flight controller sketch (sensor reading, complementary filter / attitude computation, cascaded PID, motor mixing, arming logic, telemetry). setup.ino` — Setup and ...
This is an arduino IDE library to control the LSM303C. It can be configured to use I 2 C or half-duplex SPI. This has been tested with Arduino Pro Mini. Arduino libraries that implement this interface ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する