Particle filter is now using a fixed time interval as step
This commit is contained in:
@@ -184,6 +184,20 @@ public:
|
||||
|
||||
splot.getObjects().set(id, obj);
|
||||
|
||||
}
|
||||
|
||||
void addCircle(int id, const Point2& center, float radius, const K::GnuplotColor& strokeColor)
|
||||
{
|
||||
auto c = K::GnuplotCoordinate2(center.x, center.y, K::GnuplotCoordinateSystem::FIRST);
|
||||
auto r = K::GnuplotCoordinate1(radius, K::GnuplotCoordinateSystem::FIRST);
|
||||
|
||||
K::GnuplotFill fill(K::GnuplotFillStyle::EMPTY, K::GnuplotColor::fromRGB(0, 0, 0));
|
||||
K::GnuplotStroke stroke(K::GnuplotDashtype::SOLID, 1, strokeColor);
|
||||
|
||||
K::GnuplotObjectCircle* obj = new K::GnuplotObjectCircle(c, r, fill, stroke);
|
||||
|
||||
splot.getObjects().set(id, obj);
|
||||
|
||||
}
|
||||
|
||||
void addBBoxes(const BBoxes3& boxes, const K::GnuplotColor& c) {
|
||||
|
||||
Reference in New Issue
Block a user