]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/lidars/hokuyo/shape-detect/online.cc
Create LIDAR lib for hadling both rangefinders - SICK and Hokuyo
[eurobot/public.git] / src / lidars / hokuyo / shape-detect / online.cc
similarity index 93%
rename from src/hokuyo/shape-detect/online.cc
rename to src/lidars/hokuyo/shape-detect/online.cc
index 0e75299bb399e2c22846ef7f430bacd8c9660786..9eb67254fe9bbcc01d7100e96f55e98d6ceb129c 100644 (file)
@@ -20,7 +20,7 @@ void rcv_hokuyo_scan_cb(const ORTERecvInfo *info, void *vinstance,
 {
        Shape_detect sd;
 
-       struct hokuyo_scan_type *instance = (struct hokuyo_scan_type *)vinstance;
+       struct lidar_scan_type *instance = (struct lidar_scan_type *)vinstance;
        static int count = 0;
 
        switch (info->status) {