]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robomon/hokuyoscan.cpp
hokuyoscan/shape_detect: Add drawing arc center (green point).
[eurobot/public.git] / src / robomon / hokuyoscan.cpp
index b02dfe399e6be8a341b84dafbb37c2e59cf101ef..41486d9904bdd2f4d079b25f65ac85166741e6e1 100644 (file)
@@ -50,6 +50,9 @@ void HokuyoScan::paintShapeDetect(QPainter * painter)
        for (unsigned i = 0; i < arcs.size(); i++) {
                painter->drawLine(arcs[i].begin.x, arcs[i].begin.y,
                                  arcs[i].end.x, arcs[i].end.y);
+
+               QPoint center(arcs[i].center.x, arcs[i].center.y);
+               painter->drawPoint(center);
        }
 }