AircraftWidget 0 0 730 602 Form 0 Mixer Settings 5 Aircraft type: 10 Select aircraft type here Qt::Horizontal 40 20 Qt::Horizontal 0 true false 0 0 Airplane type: Qt::Horizontal 40 20 Channel Assignment QFormLayout::AllNonFixedFieldsGrow Engine 60 0 Aileron 1 false 60 0 Aileron 2 false 67 0 Elevator 1 false 67 0 Elevator 2 false Rudder 1 Rudder 2 Elevon Mix 65 0 Rudder % 100 50 Qt::Vertical 50 50 0 Pitch % 100 50 Qt::Vertical 50 Qt::Vertical 20 40 Qt::Horizontal 40 20 Throttle Curve Reset 0 0 100 100 200 200 10 10 Val: 0.00 Qt::Vertical 20 40 Qt::Horizontal 40 20 75 true Mixer OK Frame type: Select the Multirotor frame type here. Qt::Horizontal 40 20 75 true Mix Level 100 Qt::AlignCenter Weight of Roll mixing in percent. Typical values are 100% for + configuration and 50% for X configuration on quads. 100 100 Qt::Vertical R Qt::AlignCenter 100 Qt::AlignCenter Weight of Pitch mixing in percent. Typical values are 100% for + configuration and 50% for X configuration on quads. 100 100 Qt::Vertical P Qt::AlignCenter 50 Qt::AlignCenter Weight of Yaw mixing in percent. Typical value is 50% for + or X configuration on quads. -100 100 50 Qt::Vertical false Y Qt::AlignCenter 0 0 110 110 background:transparent QFrame::NoFrame QFrame::Plain QLayout::SetDefaultConstraint Qt::Horizontal 40 20 Throttle Curve Qt::Horizontal 40 20 0 0 10 Reset 0 0 120 120 background:transparent Val: 0.00 10 Tricopter Yaw channel: false 0 0 40 0 Qt::Vertical 20 40 Motor output channels: 1 1 QFormLayout::AllNonFixedFieldsGrow 3 1 8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans'; font-size:8pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Assign your motor channels using the drawing</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">on the right as a reference. Respect propeller rotation!</p></body></html> 2 8 3 8 4 8 QFormLayout::AllNonFixedFieldsGrow 3 5 false 0 0 8 6 false 8 7 false 8 8 false 8 Qt::Horizontal 40 20 75 true Mixer OK 0 0 0 2 9 Throttle Curve 1 Qt::Horizontal 40 20 0 0 0 0 9 Reset 0 0 100 100 200 200 Val: 0.00 9 Throttle Curve 2 Qt::Horizontal 40 20 9 Reset 0 0 100 100 200 200 Val: 0.00 FeedForward 30 0 000 100 Qt::Horizontal AccelTime DecelTime MaxAccel 1000 500 2000 1000 Qt::Horizontal 0 0 8 true 50 false Type Curve 1 Curve 2 Roll Pitch Yaw Ch 1 Ch 2 Ch 3 Ch 4 Ch 5 Ch 6 Ch 7 Ch 8 - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter - AlignHCenter|AlignVCenter|AlignCenter Qt::Horizontal 40 20 Retrieve settings from OpenPilot Get Current Send to board, but don't save permanently (flash or SD). Apply Applies and Saves all settings to flash or SD depending on board. Save Advanced Settings 75 true Feed Forward QFormLayout::AllNonFixedFieldsGrow FeedForward 30 0 000 true Overall level of feed forward (in percentage). 100 1 Qt::Horizontal QSlider::NoTicks Accel Time Constant true In miliseconds. When tuning: Slowly raise accel time from zero to just under the level where the motor starts to overshoot its target speed. 3 100.000000000000000 0.010000000000000 Decel Time Constant true When tuning: Slowly raise decel time from zero to just under the level where the motor starts to undershoot its target speed when decelerating. Do it after accel time is setup. 3 100.000000000000000 0.010000000000000 MaxAccel 1000 Limits how much the engines can accelerate or decelerate. In 'units per second', a sound default is 1000. 500 2000 1000 Qt::Horizontal Qt::Horizontal 40 20 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Beware! Check </span><span style=" font-family:'Sans'; font-size:10pt; font-weight:600;">all three</span><span style=" font-family:'Sans'; font-size:10pt;"> checkboxes to test Feed Forward.</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">It will run only if your airframe armed.</span></p></body></html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Beware! Check </span><span style=" font-family:'Sans'; font-size:10pt; font-weight:600;">all three</span><span style=" font-family:'Sans'; font-size:10pt;"> checkboxes to test Feed Forward.</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">It will run only if your airframe armed.</span></p></body></html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Beware! Check </span><span style=" font-family:'Sans'; font-size:10pt; font-weight:600;">all three</span><span style=" font-family:'Sans'; font-size:10pt;"> checkboxes to test Feed Forward.</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">It will run only if your airframe armed.</span></p></body></html> Enable FF tuning Qt::Horizontal 40 20 0 0 0 40 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> <table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> <tr> <td style="border: none;"> <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600; color:#ff0000;">SETTING UP FEED FORWARD IS DANGEROUS</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt; font-weight:600;">Beware</span><span style=" font-size:10pt;">: Feed Forward Tuning will launch all engines around mid-throttle, you have been warned!</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt; font-weight:600;">Remove your props initially, and for fine-tuning, make sure your airframe is safely held in place. Wear glasses and protect your face and body.</span></p></td></tr></table></body></html> Qt::Vertical 20 40 Qt::Horizontal 40 20 Request current settings from the board. Get Current Send to board, but don't save permanently (flash or SD). Apply Applies and Saves all settings to flash or SD depending on board. Save MixerCurveWidget QWidget
mixercurvewidget.h
1
ConfigccpmWidget QWidget
configccpmwidget.h
1
feedForwardSlider valueChanged(int) feedForwardValue setNum(int) 248 103 146 107 maxAccelSlider valueChanged(int) label_33 setNum(int) 272 214 127 214 mrRollMixLevel valueChanged(int) label_43 setNum(int) 42 220 43 171 mrPitchMixLevel valueChanged(int) label_44 setNum(int) 83 228 82 168 mrYawMixLevel valueChanged(int) label_45 setNum(int) 120 254 121 172 elevonSlider1 valueChanged(int) label_18 setNum(int) 124 126 124 126 elevonSlider2 valueChanged(int) label_25 setNum(int) 124 126 124 126 customFFSlider valueChanged(int) customFeedForwardValue setNum(int) 115 117 115 117 customFFMaxAccel valueChanged(int) label_OSD setNum(int) 115 117 115 117