7 * @brief Debug file for testing detection shape.
9 * More information about using introduced methods
10 * can be found in dokumentation of class Shape_detect (shape_detect.h)
15 #include <shape_detect.h>
16 #include <roboorte_robottype.h>
18 void rcv_hokuyo_scan_cb(const ORTERecvInfo *info, void *vinstance,
19 void *recvCallBackParam)
23 struct hokuyo_scan_type *instance = (struct hokuyo_scan_type *)vinstance;
26 switch (info->status) {
33 std::vector<Shape_detect::Line> output;
34 sd.prepare(instance->data);
35 sd.line_detect(output);
45 struct robottype_orte_data orte;
51 rv = robottype_roboorte_init(&orte);
54 robottype_subscriber_hokuyo_scan_create(&orte, rcv_hokuyo_scan_cb, &orte);