English — A 2-axis (roll + pitch) self-stabilizing gimbal on STM32F103. Attitude is estimated with a Mahony quaternion complementary filter; a position loop outputs a torque voltage Uq, which is ...
Close all issues, pull requests, and discussions opened by this user Content in all repositories owned by your account will be closed.
本文深入剖析MPU6050中加速度计与陀螺仪的物理本质:加速度计作为重力矢量静态解码器,在动态时因运动加速度干扰而失效;陀螺仪输出角速度,积分后易受零偏累积导致漂移。文章系统阐述坐标系绑定、小角度线性化、零偏校准、动态矢量失真等关键问题,并对比卡尔曼滤波与互补滤波在嵌入式 ...
3.3 串口出波形:用 VOFA+ 或 SerialPlot 看滤波前后对比 烧录之后,你需要把滤波前后的数据同时发到串口,才能判断滤波器有没有起作用。 下面这段代码用两个通道发送原始值和滤波值,格式为「原始值,滤波值\n」。
常见的处理办法是把数据保存下来,再导入 Excel、MATLAB 或 Python 画图。 这当然能用,但调一个传感器、PID 参数或者电机控制程序时,每改一次代码都要重新采集和作图,太折腾了。 SerialPlot 芯片之家 2026-08-27 57浏览 ...