Hi all,
I'm trying to use Qwt to plot accelerometer data @800Hz.
The application work, but it randomly crashes with error `double free or corruption (out)` while allocating data.
I use this code to update the plot:
Code:
void DataPlot::updateData( DataType type, QVector<double> ts, QVector<double> data, bool replot) { mData[type].mCurve->setSamples( ts, data ); if(replot) this->replot(); }
Where `ts` is the X axis, `data` is the Y axis and `mCurve` is a `QwtPlotCurve` curve.
Any idea or suggestion?
Thank you
Walter