mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
HEXAP_FRAME output
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2247 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
d035f9e9fd
commit
b566b1e55b
@ -220,7 +220,8 @@ set_servos_4()
|
|||||||
motor_out[CH_3] = constrain(motor_out[CH_3], out_min, g.rc_3.radio_max.get());
|
motor_out[CH_3] = constrain(motor_out[CH_3], out_min, g.rc_3.radio_max.get());
|
||||||
motor_out[CH_4] = constrain(motor_out[CH_4], out_min, g.rc_3.radio_max.get());
|
motor_out[CH_4] = constrain(motor_out[CH_4], out_min, g.rc_3.radio_max.get());
|
||||||
|
|
||||||
if ((g.frame_type == HEXAX_FRAME) || (g.frame_type == Y6_FRAME)) {
|
|
||||||
|
if ((g.frame_type == HEXAX_FRAME) || (g.frame_type == HEXAP_FRAME) || (g.frame_type == Y6_FRAME)) {
|
||||||
motor_out[CH_7] = constrain(motor_out[CH_7], out_min, g.rc_3.radio_max.get());
|
motor_out[CH_7] = constrain(motor_out[CH_7], out_min, g.rc_3.radio_max.get());
|
||||||
motor_out[CH_8] = constrain(motor_out[CH_8], out_min, g.rc_3.radio_max.get());
|
motor_out[CH_8] = constrain(motor_out[CH_8], out_min, g.rc_3.radio_max.get());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user