Pascal
Pascal
4K mode is hard to decode for realtime on a microcontroller. I need current and future (datasheet), I use past and current (bug) ``` #define RPLIDARNBSAMPLES 32 bool readLidar() {...
look at https://github.com/robopeak/rplidar_ros/blob/master/sdk/src/rplidar_driver.cpp
I run the first code I posted (2K legacy mode) on a 80MHz PIC32 + a lot of floating point and integer arithmetic, (a complete robot with SLAM-like) : https://www.serveurperso.com/?page=robot...
This issue is just to share my optimized 2K driver, it can work on a 16MHz 8bits AVR Arduino !
Oui, il supporte aussi le LD Lidar qui est meilleur en / performances / prix / taille / bruit / au soleil que le RP. https://github.com/vigibot/vigiclient/blob/master/opencv/lidar/lidars.cpp https://github.com/vigibot/vigiclient/blob/master/opencv/lidar/lidars.hpp C'est le driver...
Now I use RTIMULib in C++ there is all header and trick / infos you need to add this
Looked the code nice work, you can also make an async version with callback for gyro:D (setInterval instead of the for / usleep)
https://github.com/chjj/term.js/issues/51
I tested your patch on French keyboard, it solve few AltGr chars (but not all) Need to make same trick for French.