mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
fixed reset UPlot on rehearsal after small movement detected. GUI: modified color for pose correction (DarkCyan) and small movement (Gray)
This commit is contained in:
@@ -435,7 +435,7 @@ void UPlotCurve::addValue(float x, float y)
|
||||
{
|
||||
UWARN("New value (%f) added to curve \"%s\" is smaller "
|
||||
"than the last added (%f). Clearing the curve.",
|
||||
x, this->name().toStdString().c_str(), _items.back()->pos().x());
|
||||
x, this->name().toStdString().c_str(), ((UPlotItem*)_items.back())->data().x());
|
||||
this->clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user