M5Stack Gyroscope Sensor



  • 普段何気なく使っているスマホとかの方向による画面の向き切り替え、m5stackでの単軸ジャイロセンサだけでは誤差拾わないようにするのは至難の技だわ。こりゃいろいろ複合させて位置、向きの検出して、たまに補正かけて修正しているのか。分解能下げソフトフィルタかけてこの程度が限界だった。

    Youku: http://v.youku.com/v_show/id_XNDAxNDMwMjAyNA==.html?spm=a2hzp.8253869.0.0

    0_1550030981906_XAg0YWjLwGRGZVHB11fCBZ9gHV6mCwxU.png



  • Can you please send me the code bryamabril@gmail.com


  • M5Stack

    Unfortunately this wasn't made by the M5Stack team but by one of our Japanese users, and whoever posted this forgot to include any link to the github or blog of the author. If you search google for M5Stack Gyro / Accelerometer you may be able to find it or something similar. Asking around in the M5Stack Japanese Facebook group may also turn up some results



  • @merryq said in M5Stack Gyroscope Sensor:

    普段何気なく使っているスマホとかの方向による画面の向き切り替え、m5stackでの単軸ジャイロセンサだけでは誤差拾わないようにするのは至難の技だわ。こりゃいろいろ複合させて位置、向きの検出して、たまに補正かけて修正しているのか。分解能下げソフトフィルタかけてこの程度が限界だった。

    Youku: http://v.youku.com/v_show/id_XNDAxNDMwMjAyNA==.html?spm=a2hzp.8253869.0.0

    0_1550030981906_XAg0YWjLwGRGZVHB11fCBZ9gHV6mCwxU.png

    "It is a very difficult technique to switch the screen direction depending on the direction of the smartphone that you usually use casually, and to avoid picking up errors with only a single axis gyro sensor with m5stack. This means that the position and orientation are detected by combining various things, and sometimes they are corrected and corrected. This degree was the limit with the resolution reduction soft filter."