Skip to content
Snippets Groups Projects
Commit c1abd96e authored by rmackay9's avatar rmackay9
Browse files

ArduCopter: limit output throttle to 800 only for TRI which does not have the new stability patch

parent b10d61b2
No related branches found
No related tags found
No related merge requests found
......@@ -210,8 +210,8 @@ static void init_disarm_motors()
static void
set_servos_4()
{
#if FRAME_CONFIG != HELI_FRAME || FRAME_CONFIG != QUAD_FRAME || FRAME_CONFIG != HEXA_FRAME || FRAME_CONFIG != OCTA_FRAME
// temp fix for bad attitude
#if FRAME_CONFIG == TRI_FRAME
// To-Do: implement improved stability patch for tri so that we do not need to limit throttle input to motors
g.rc_3.servo_out = min(g.rc_3.servo_out, 800);
#endif
motors.output();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment