mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
csvlog: Do not scale data written to CSV files
The autoscaling values used by the scope gadget were being applied to the raw data being written to the CSV files. This resulted in the CSV file containing data that had a variable scale, thus making it useless.
This commit is contained in:
parent
8c0c39ca53
commit
a19bbb7ea3
@ -709,7 +709,7 @@ int ScopeGadgetWidget::csvLoggingInsertData()
|
||||
}
|
||||
else
|
||||
{
|
||||
ss << QString().sprintf("%3.6g",plotData2->yData->last()/pow(10,plotData2->scalePower));
|
||||
ss << QString().sprintf("%3.6g",plotData2->yData->last());
|
||||
m_csvLoggingDataValid=1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user