Point a; /**< start point from a line. */
Point b; /**< end point from a line. */
} Line;
+
+ typedef struct {
+ Point center;
+ } Arc;
+
+ void prepare(const unsigned short laser_scan[]);
+
/**
* There are detected line segments in input array of measured
* @param [out] &lines vector which contains detected lines.
* @ingroup shapedet
*/
- void shape_detect(const unsigned short laser_scan[], std::vector<Line> &lines);
+ void line_detect(std::vector<Line> &lines);
+ void arc_detect(std::vector<Arc> &lines);
private:
/**