mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
0.15: statistics are now compressed in database. Eigen issue: using linear() instead of rotation() to get rotation from affine3f. Increased loading speed of statistics in DatabaseViewer. Added graph:calcRMSE().
This commit is contained in:
@@ -88,10 +88,6 @@ void StatItem::addValue(float y)
|
||||
{
|
||||
if(_cacheOn)
|
||||
{
|
||||
if(_y.size() % 100)
|
||||
{
|
||||
_y.reserve(_y.size()+100);
|
||||
}
|
||||
_y.push_back(y);
|
||||
}
|
||||
_value->setText(QString::number(y, 'g', 3));
|
||||
@@ -107,15 +103,7 @@ void StatItem::addValue(float x, float y)
|
||||
clearCache();
|
||||
}
|
||||
|
||||
if(_y.size() % 100)
|
||||
{
|
||||
_y.reserve(_y.size()+100);
|
||||
}
|
||||
_y.push_back(y);
|
||||
if(_x.size() % 100)
|
||||
{
|
||||
_x.reserve(_x.size()+100);
|
||||
}
|
||||
_x.push_back(x);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user