diff --git a/ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp b/ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp index 34b29338b..308a7f1c2 100644 --- a/ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp @@ -372,13 +372,6 @@ void ConfigOutputWidget::requestRCOutputUpdate() ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance(); UAVObjectManager *objManager = pm->getObject(); - // Get the Airframe type from the system settings: - UAVDataObject* obj = dynamic_cast(objManager->getObject(QString("SystemSettings"))); - Q_ASSERT(obj); - obj->requestUpdate(); - UAVObjectField *field = obj->getField(QString("AirframeType")); - m_config->aircraftType->setText(QString("Aircraft type: ") + field->getValue().toString()); - // Reset all channel assignements: m_config->ch0Output->setCurrentIndex(0); m_config->ch1Output->setCurrentIndex(0); @@ -390,7 +383,7 @@ void ConfigOutputWidget::requestRCOutputUpdate() m_config->ch7Output->setCurrentIndex(0); // Get the channel assignements: - obj = dynamic_cast(objManager->getObject(QString("ActuatorSettings"))); + UAVDataObject * obj = dynamic_cast(objManager->getObject(QString("ActuatorSettings"))); Q_ASSERT(obj); obj->requestUpdate(); QList fieldList = obj->getFields(); @@ -400,10 +393,41 @@ void ConfigOutputWidget::requestRCOutputUpdate() } } + // Get Output rates for both banks - field = obj->getField(QString("ChannelUpdateFreq")); + UAVObjectField* field = obj->getField(QString("ChannelUpdateFreq")); + UAVObjectUtilManager* utilMngr = pm->getObject(); m_config->outputRate1->setValue(field->getValue(0).toInt()); m_config->outputRate2->setValue(field->getValue(1).toInt()); + if (utilMngr) { + int board = utilMngr->getBoardModel(); + if ((board & 0xff00) == 1024) { + // CopterControl family + m_config->chBank1->setText("1-3"); + m_config->chBank2->setText("4"); + m_config->chBank3->setText("5"); + m_config->chBank4->setText("6"); + m_config->outputRate1->setEnabled(true); + m_config->outputRate2->setEnabled(true); + m_config->outputRate3->setEnabled(true); + m_config->outputRate4->setEnabled(true); + m_config->outputRate3->setValue(field->getValue(2).toInt()); + m_config->outputRate4->setValue(field->getValue(3).toInt()); + } else if ((board & 0xff00) == 256 ) { + // Mainboard family + m_config->outputRate1->setEnabled(true); + m_config->outputRate2->setEnabled(true); + m_config->outputRate3->setEnabled(false); + m_config->outputRate4->setEnabled(false); + m_config->chBank1->setText("1-4"); + m_config->chBank2->setText("5-8"); + m_config->chBank3->setText("-"); + m_config->chBank4->setText("-"); + m_config->outputRate3->setValue(0); + m_config->outputRate4->setValue(0); + } + } + // Get Channel ranges: for (int i=0;i<8;i++) { @@ -463,6 +487,8 @@ void ConfigOutputWidget::sendRCOutputUpdate() field = obj->getField(QString("ChannelUpdateFreq")); field->setValue(m_config->outputRate1->value(),0); field->setValue(m_config->outputRate2->value(),1); + field->setValue(m_config->outputRate3->value(),2); + field->setValue(m_config->outputRate4->value(),3); // Set Actuator assignement for each channel: // Rule: if two channels have the same setting (which is wrong!) the higher channel diff --git a/ground/openpilotgcs/src/plugins/config/configoutputwidget.h b/ground/openpilotgcs/src/plugins/config/configoutputwidget.h index 5255a92c1..3e3270907 100644 --- a/ground/openpilotgcs/src/plugins/config/configoutputwidget.h +++ b/ground/openpilotgcs/src/plugins/config/configoutputwidget.h @@ -32,6 +32,7 @@ #include "extensionsystem/pluginmanager.h" #include "uavobjectmanager.h" #include "uavobject.h" +#include "uavobjectutilmanager.h" #include #include diff --git a/ground/openpilotgcs/src/plugins/config/output.ui b/ground/openpilotgcs/src/plugins/config/output.ui index 7023cca09..18feb1608 100644 --- a/ground/openpilotgcs/src/plugins/config/output.ui +++ b/ground/openpilotgcs/src/plugins/config/output.ui @@ -7,7 +7,7 @@ 0 0 663 - 395 + 410 @@ -15,136 +15,156 @@ - - - 0 + + + QFrame::StyledPanel - - - Servo Output - - - - - 10 - 10 - 221 - 17 - - - - Aircraft type: undefined - - + + QFrame::Raised + + + + 1 + + + 1 + + + 1 + + + 3 + + + 2 + + + + + false + + + Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes. +Leave at 50Hz for fixed wing. + + + + + + + - + + + Qt::AlignCenter + + + + + + + - + + + Qt::AlignCenter + + + + + + + - + + + Qt::AlignCenter + + + + + + + false + + + Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes. +Leave at 50Hz for fixed wing. + + + + + + + false + + + Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes. +Leave at 50Hz for fixed wing. + + + 9999 + + + + + + + false + + + Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes. +Leave at 50Hz for fixed wing. + + + 9999 + + + + + + + Update rate: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + - + + + Qt::AlignCenter + + + + + + + Channel: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + - - - 10 - 70 - 71 - 17 - - Channel 1 - - - - 10 - 100 - 71 - 17 - - - - Channel 2 - - - - - - 10 - 130 - 71 - 17 - - - - Channel 3 - - - - - - 10 - 160 - 71 - 17 - - - - Channel 4 - - - - - - 10 - 190 - 71 - 17 - - - - Channel 5 - - - - - - 10 - 220 - 71 - 17 - - - - Channel 6 - - - - - true - - - - 300 - 70 - 160 - 18 - - - - 9999 - - - Qt::Horizontal - - + + false - - - 100 - 70 - 121 - 21 - - 8 @@ -159,18 +179,12 @@ p, li { white-space: pre-wrap; } <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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> + + true - - - 240 - 70 - 55 - 21 - - 8 @@ -187,17 +201,24 @@ p, li { white-space: pre-wrap; } 9999 - + + + true - - - 460 - 70 - 55 - 21 - + + 9999 + + + Qt::Horizontal + + + + + + + true @@ -215,17 +236,795 @@ p, li { white-space: pre-wrap; } 9999 - + + + + + Current value of slider. + + + 0000 + + + + + + + + FreeSans + 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> + + + + + + + + + + Only used with Test Output mode + + + + + + + + + + Link + + + + + + + Rev. + + + + + + + Channel 2 + + + + + + + false + + + + 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> + + + + + true - - - 10 - 40 - 151 - 22 - + + + 8 + + + + 9999 + + + + + + + true + + + 9999 + + + Qt::Horizontal + + + + + + + true + + + + 8 + + + + 9999 + + + + + + + 0000 + + + + + + + + FreeSans + 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> + + + + + + + + + + Only used with Test Output mode + + + + + + + + + + Channel 3 + + + + + + + false + + + + 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> + + + + + + + true + + + + 8 + + + + 9999 + + + + + + + true + + + 9999 + + + Qt::Horizontal + + + + + + + true + + + + 8 + + + + 9999 + + + + + + + 0000 + + + + + + + + FreeSans + 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> + + + + + + + + + + Only used with Test Output mode + + + + + + + + + + Channel 4 + + + + + + + false + + + + 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> + + + + + + + true + + + + 8 + + + + 9999 + + + + + + + true + + + 9999 + + + Qt::Horizontal + + + + + + + true + + + + 8 + + + + 9999 + + + + + + + 0000 + + + + + + + + FreeSans + 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> + + + + + + + + + + Only used with Test Output mode + + + + + + + + + + Channel 5 + + + + + + + false + + + + 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> + + + + + + + + 8 + + + + 9999 + + + + + + + 9999 + + + Qt::Horizontal + + + + + + + + 8 + + + + 9999 + + + + + + + 0000 + + + + + + + + FreeSans + 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> + + + + + + + + + + Only used with Test Output mode + + + + + + + + + + Channel 6 + + + + + + + false + + + + 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> + + + + + + + + 8 + + + + 9999 + + + + + + + 9999 + + + Qt::Horizontal + + + + + + + + 8 + + + + 9999 + + + + + + + 0000 + + + + + + + + FreeSans + 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> + + + + + + + + + + Only used with Test Output mode + + + + + + + + + + Channel 7 + + + + + + + false + + + + 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> + + + + + + + Channel 8 + + + + + + + false + + + + 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> + + + + + + + + 8 + + + + 9999 + + + + + + + 9999 + + + Qt::Horizontal + + + + + + + + 8 + + + + 9999 + + + + + + + 0000 + + + + + + + + FreeSans + 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> + + + + + + + + + + Only used with Test Output mode + + + + + + + + + + + 8 + + + + 9999 + + + + + + + 9999 + + + Qt::Horizontal + + + + + + + + 8 + + + + 9999 + + + + + + + 0000 + + + + + + + + FreeSans + 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> + + + + + + + + + + Only used with Test Output mode + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + true Move the servos using the sliders. Two important things: @@ -236,631 +1035,22 @@ p, li { white-space: pre-wrap; } Test outputs - - - - 10 - 250 - 71 - 17 - - - - Channel 7 - - - - - - 10 - 280 - 71 - 17 - - - - Channel 8 - - - - - false - - - - 100 - 100 - 121 - 21 - - - - - 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> - - - - - true - - - - 460 - 100 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - true - - - - 240 - 100 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - true - - - - 300 - 100 - 160 - 18 - - - - 9999 - + + + Qt::Horizontal - - - - false - - - - 100 - 130 - 121 - 21 - - - - - 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> - - - - - true - - - - 460 - 130 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - true - - - - 240 - 130 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - true - - - - 300 - 130 - 160 - 18 - - - - 9999 - - - Qt::Horizontal - - - - - false - - - - 100 - 160 - 121 - 21 - - - - - 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> - - - - - true - - - - 460 - 160 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - true - - - - 240 - 160 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - true - - - - 300 - 160 - 160 - 18 - - - - 9999 - - - Qt::Horizontal - - - - - false - - - - 100 - 190 - 121 - 21 - - - - - 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> - - - - - - 460 - 190 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - - 240 - 190 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - - 300 - 190 - 160 - 18 - - - - 9999 - - - Qt::Horizontal - - - - - false - - - - 100 - 220 - 121 - 21 - - - - - 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> - - - - - - 460 - 220 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - - 240 - 220 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - - 300 - 220 - 160 - 18 - - - - 9999 - - - Qt::Horizontal - - - - - false - - - - 100 - 250 - 121 - 21 - - - - - 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> - - - - - - 460 - 250 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - - 240 - 250 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - - 300 - 250 - 160 - 18 - - - - 9999 - - - Qt::Horizontal - - - - - false - - - - 100 - 280 - 121 - 21 - - - - - 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:'Ubuntu'; 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;"><span style=" font-family:'Sans';">This is the actuator connected to this channel.</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';">You can change this through the &quot;Airframe&quot; dialog (on the left).</span></p></body></html> - - - - - - 460 - 280 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - - 240 - 280 - 55 - 21 - - - - - 8 - - - - 9999 - - - - - - 300 - 280 - 160 - 18 - - - - 9999 - - - Qt::Horizontal - - - - - - 490 - 310 - 93 - 27 - - - - Be sure to set the Neutral position on all sliders before sending! -Applies and Saves all settings to SD - - - Save - - + + + 40 + 20 + + + + + - - - 270 - 310 - 93 - 27 - - Retrieve settings from OpenPilot @@ -868,15 +1058,9 @@ Applies and Saves all settings to SD Get Current + + - - - 380 - 310 - 93 - 27 - - Send to OpenPilot but don't write in SD. Be sure to set the Neutral position on all sliders before sending! @@ -885,573 +1069,23 @@ Be sure to set the Neutral position on all sliders before sending! Apply - - - - 240 - 10 - 291 - 51 - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - 220 - 20 - 55 - 27 - - - - Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes. -Leave at 50Hz for fixed wing. - - - 9999 - - - - - - 20 - 20 - 81 - 17 - - - - Update rate: - - - - - - 120 - 20 - 55 - 27 - - - - Setup "TurboPWM" here: usual value is 400 Hz for multirotor airframes. -Leave at 50Hz for fixed wing. - - - 9999 - - - - - - 110 - 0 - 81 - 17 - - - - Channel 0-3 - - - - - - 210 - 0 - 81 - 17 - - - - Channel 4-7 - - - - - - - 520 - 70 - 41 - 17 - - + + + - Current value of slider. + Be sure to set the Neutral position on all sliders before sending! +Applies and Saves all settings to SD - 0000 + Save - - - - 520 - 100 - 41 - 17 - - - - 0000 - - - - - - 520 - 130 - 41 - 17 - - - - 0000 - - - - - - 520 - 160 - 41 - 17 - - - - 0000 - - - - - - 520 - 190 - 41 - 17 - - - - 0000 - - - - - - 520 - 220 - 41 - 17 - - - - 0000 - - - - - - 520 - 250 - 41 - 17 - - - - 0000 - - - - - - 520 - 280 - 41 - 17 - - - - 0000 - - - - - - 560 - 220 - 21 - 22 - - - - - FreeSans - 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> - - - - - - - - - 560 - 70 - 21 - 22 - - - - - FreeSans - 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> - - - - - - - - - 560 - 130 - 21 - 22 - - - - - FreeSans - 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> - - - - - - - - - 560 - 250 - 21 - 22 - - - - - FreeSans - 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> - - - - - - - - - 560 - 280 - 21 - 22 - - - - - FreeSans - 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> - - - - - - - - - 560 - 100 - 21 - 22 - - - - - FreeSans - 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> - - - - - - - - - 560 - 160 - 21 - 22 - - - - - FreeSans - 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> - - - - - - - - - 560 - 190 - 21 - 22 - - - - - FreeSans - 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:'FreeSans'; 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;">Check to invert the channel.</p></body></html> - - - - - - - - - 560 - 50 - 31 - 17 - - - - Rev. - - - - - - 600 - 50 - 31 - 17 - - - - Link - - - - - - 610 - 70 - 21 - 22 - - - - Only used with Test Output mode - - - - - - - - - 610 - 100 - 21 - 22 - - - - Only used with Test Output mode - - - - - - - - - 610 - 130 - 21 - 22 - - - - Only used with Test Output mode - - - - - - - - - 610 - 160 - 21 - 22 - - - - Only used with Test Output mode - - - - - - - - - 610 - 190 - 21 - 22 - - - - Only used with Test Output mode - - - - - - - - - 610 - 220 - 21 - 22 - - - - Only used with Test Output mode - - - - - - - - - 610 - 250 - 21 - 22 - - - - Only used with Test Output mode - - - - - - - - - 610 - 280 - 21 - 22 - - - - Only used with Test Output mode - - - - - - - + + - channelOutTest - outputRate1 - outputRate2 ch0Output ch0OutMin ch0OutSlider @@ -1492,9 +1126,7 @@ p, li { white-space: pre-wrap; } ch7OutSlider ch7OutMax ch7Rev - getRCOutputCurrent saveRCOutputToRAM - saveRCOutputToSD