5iMX宗旨:分享遥控模型兴趣爱好

5iMX.com 我爱模型 玩家论坛 ——专业遥控模型和无人机玩家论坛(玩模型就上我爱模型,创始于2003年)
查看: 435|回复: 0
打印 上一主题 下一主题

MWC 云台方向反向~~~

[复制链接]
跳转到指定楼层
楼主
发表于 2013-9-20 11:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

各位大大,使用MWC遇到个问题,请赐教!!!
开启云台增稳,云台反向
将下列值改为负数以及调换MAX MIN值 云台都向一个方向打死,无效,求救
#define TILT_PITCH_MIN   
#define TILT_PITCH_MAX
#define TILT_ROLL_MIN
#define TILT_ROLL_MAX


配置如下:


/***********************          Cam Stabilisation             ***********************/
    /* The following lines apply only for a pitch/roll tilt stabilization system. Uncomment the first or second line to activate it */
    //#define SERVO_MIX_TILT
    #define SERVO_TILT

    /* The following lines enable pitch and roll servo streetching to values defined as TILT_MIN and TILT_MAX
       This work only with haedware PWM's for gimbal servos (MEGA board with uncommented MEGA_HW_PWM_SERVOS option)
       Tipical TILT_MIN should be about 500 and TILT_MAX abiut 2500 for 180 degres servo range */
    //#define SERVO_STRETH

    #define TILT_PITCH_MIN    1020    //servo travel min, don't set it below 1020 except mega HW pwm's is used
    #define TILT_PITCH_MAX    2000    //servo travel max, max value=2000
    #define TILT_PITCH_MIDDLE 1500    //servo neutral value
    #define TILT_PITCH_PROP   10      //servo proportional (tied to angle) ; can be negative to invert movement
    //#define TILT_PITCH_AUX_CH AUX3    //AUX channel to overwrite CAM pitch (AUX1-AUX4), comment to disable manual input and free the AUX channel
    #define TILT_ROLL_MIN     1020
    #define TILT_ROLL_MAX     2000
    #define TILT_ROLL_MIDDLE  1500
    #define TILT_ROLL_PROP    10
    //#define TILT_ROLL_AUX_CH  AUX4    //AUX channel to overwrite CAM Roll (AUX1-AUX4), comment to disable manual input and free the AUX channel


欢迎继续阅读楼主其他信息

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

关闭

【站内推荐】上一条 /1 下一条

快速回复 返回顶部 返回列表