1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

Improved default HiTL timer periods for more reactivity.

This commit is contained in:
Kenz Dale 2012-08-29 14:41:45 +02:00
parent 037182f522
commit ff0de79147
2 changed files with 5 additions and 5 deletions

View File

@ -928,7 +928,7 @@
<longitude></longitude>
<manualControlEnabled>false</manualControlEnabled>
<manualOutput>false</manualOutput>
<minOutputPeriod>100</minOutputPeriod>
<minOutputPeriod>40</minOutputPeriod>
<outPort>49000</outPort>
<remoteAddress>127.0.0.1</remoteAddress>
<simulatorId>ASimRC</simulatorId>
@ -964,7 +964,7 @@
<longitude></longitude>
<manualControlEnabled>true</manualControlEnabled>
<manualOutput>false</manualOutput>
<minOutputPeriod>100</minOutputPeriod>
<minOutputPeriod>40</minOutputPeriod>
<outPort>9010</outPort>
<remoteAddress>127.0.0.1</remoteAddress>
<simulatorId>FG</simulatorId>
@ -1000,7 +1000,7 @@
<longitude></longitude>
<manualControlEnabled>true</manualControlEnabled>
<manualOutput>false</manualOutput>
<minOutputPeriod>100</minOutputPeriod>
<minOutputPeriod>40</minOutputPeriod>
<outPort>49000</outPort>
<remoteAddress>127.0.0.1</remoteAddress>
<simulatorId>X-Plane</simulatorId>

View File

@ -264,7 +264,7 @@ void Simulator::setupObjects()
}
if (settings.attActualEnabled && !settings.attActHW)
setupOutputObject(attActual, 10);
setupOutputObject(attActual, 20);
else
setupWatchedObject(attActual, 100);
@ -323,7 +323,7 @@ void Simulator::setupOutputObject(UAVObject* obj, quint32 updatePeriod)
UAVObject::SetFlightAccess(mdata, UAVObject::ACCESS_READONLY);
UAVObject::SetFlightTelemetryUpdateMode(mdata,UAVObject::UPDATEMODE_MANUAL);
obj->setMetadata(mdata);
obj->setMetadata(mdata);
}
void Simulator::onAutopilotConnect()