OpenEdv-开源电子网

标题: 遥控器中,有部分遥控数据结构不明白什么作用,没有查看到,求助! [打印本页]

作者: f394028400    时间: 2018-8-30 22:17
标题: 遥控器中,有部分遥控数据结构不明白什么作用,没有查看到,求助!
在remoter_ctrl 的文件中,trimPitch与trimRoll是做什么用的?不太明白。

/*遥控数据结构*/
typedef __packed struct
{
        float roll;   // 横滚
        float pitch;  // 俯仰
        float yaw;    // 航向
        float thrust;  //油门
        float trimPitch;
        float trimRoll;
        bool ctrlMode;   //遥控模式
        bool flightMode;  //飞行模式
        bool RCLock;    //锁定
} remoterData_t;


作者: 电子之旅    时间: 2018-8-30 22:17
trimPitch和trimRoll是微调值,四轴漂移时可微调,就是这个微调值
作者: f394028400    时间: 2018-9-7 15:01
电子之旅 发表于 2018-8-30 22:17
trimPitch和trimRoll是微调值,四轴漂移时可微调,就是这个微调值

谢谢啦,看明白了




欢迎光临 OpenEdv-开源电子网 (http://openedv.com/) Powered by Discuz! X3.4