mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Fixed csv export error, and increased resolution of all variables to 10 significant digits.
(10 sig. dig. are required for full resolution GPS latitude and longitude output.)
This commit is contained in:
parent
b4fb4911cb
commit
b0182a47e3
@ -165,7 +165,7 @@ bool ChronoPlotData::append(UAVObject* obj)
|
||||
|
||||
//Perform scope math, if necessary
|
||||
if (mathFunction == "Boxcar average" || mathFunction == "Standard deviation"){
|
||||
//Put the new value at the front
|
||||
//Put the new value at the back
|
||||
yDataHistory->append( currentValue );
|
||||
|
||||
// calculate average value
|
||||
|
@ -677,13 +677,13 @@ int ScopeGadgetWidget::csvLoggingAddData()
|
||||
}
|
||||
else
|
||||
{
|
||||
ss << QString().sprintf("%3.6g",plotData2->yData->last());
|
||||
ss << QString().sprintf("%3.10g",plotData2->yData->last());
|
||||
m_csvLoggingDataValid=1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ss << QString().sprintf("%3.6g",plotData2->yDataHistory->last());
|
||||
ss << QString().sprintf("%3.10g",plotData2->yData->last());
|
||||
m_csvLoggingDataValid=1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user