E120103016 / afrodevices

Automatically exported from code.google.com/p/afrodevices
0 stars 0 forks source link

Cli patch #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I added some lines:

const clivalue_t valueTable[] = {
    { "deadband", VAR_UINT8, &cfg.deadband, 0, 32 },
    { "midrc", VAR_UINT16, &cfg.midrc, 1200, 1700 },
    { "minthrottle", VAR_UINT16, &cfg.minthrottle, 0, 2000 },
    { "maxthrottle", VAR_UINT16, &cfg.maxthrottle, 0, 2000 },
    { "mincommand", VAR_UINT16, &cfg.mincommand, 0, 2000 },
    { "mincheck", VAR_UINT16, &cfg.mincheck, 0, 2000 },
    { "maxcheck", VAR_UINT16, &cfg.maxcheck, 0, 2000 },
    { "vbatscale", VAR_UINT8, &cfg.vbatscale, 10, 200 },
    { "yaw_direction", VAR_INT8, &cfg.yaw_direction, -1, 1 },
    { "wing_left_mid", VAR_UINT16, &cfg.wing_left_mid, 0, 2000 },
    { "wing_right_mid", VAR_UINT16, &cfg.wing_right_mid, 0, 2000 },
    { "tri_yaw_middle", VAR_UINT16, &cfg.tri_yaw_middle, 0, 2000 },
    { "tri_yaw_min", VAR_UINT16, &cfg.tri_yaw_min, 0, 2000 },
    { "tri_yaw_max", VAR_UINT16, &cfg.tri_yaw_max, 0, 2000 },
    { "tilt_pitch_prop", VAR_INT8, &cfg.tilt_pitch_prop, -100, 100 },
    { "tilt_roll_prop", VAR_INT8, &cfg.tilt_roll_prop, -100, 100 },
    { "p_pitch", VAR_UINT8, &cfg.P8[PITCH], 0, 200},
    { "i_pitch", VAR_UINT8, &cfg.I8[PITCH], 0, 200},
    { "d_pitch", VAR_UINT8, &cfg.D8[PITCH], 0, 200},
    { "p_roll", VAR_UINT8, &cfg.P8[ROLL], 0, 200},
    { "i_roll", VAR_UINT8, &cfg.I8[ROLL], 0, 200},
    { "d_roll", VAR_UINT8, &cfg.D8[ROLL], 0, 200},
    { "p_yaw", VAR_UINT8, &cfg.P8[YAW], 0, 200},
    { "i_yaw", VAR_UINT8, &cfg.I8[YAW], 0, 200},
    { "d_yaw", VAR_UINT8, &cfg.D8[YAW], 0, 200},
    { "p_level", VAR_UINT8, &cfg.P8[PIDLEVEL], 0, 200},
    { "i_level", VAR_UINT8, &cfg.I8[PIDLEVEL], 0, 200},
    { "d_level", VAR_UINT8, &cfg.D8[PIDLEVEL], 0, 200},

Original issue reported on code.google.com by grunb...@gmail.com on 19 Mar 2012 at 4:48

Attachments:

GoogleCodeExporter commented 8 years ago
applied to latest

Original comment by time...@gmail.com on 20 Mar 2012 at 2:16