romain974 / PyYDLidarX4

Python binding for YDLidar X4
1 stars 0 forks source link

StartScanning #1

Closed l33333on closed 2 years ago

l33333on commented 2 years ago

Hi, am I able to set the scanning frequency for the YDLidar X4 sensor somehow? When Im using the example reading code with the default chunk size of 6000 it takes ~500ms between each reading, -> 2Hz. Can I somehow set this up to like 10Hz?

l33333on commented 2 years ago

Solved it by using the official SDK: https://github.com/YDLIDAR/YDLidar-SDK

romain974 commented 2 years ago

You have a parameter when creating the class: chunk_size=6000 Romain,

Le ven. 6 mai 2022 à 11:53, l33333on @.***> a écrit :

Solved it by using the official SDK: https://github.com/YDLIDAR/YDLidar-SDK

— Reply to this email directly, view it on GitHub https://github.com/romain974/PyYDLidarX4/issues/1#issuecomment-1119446886, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMUOHFGUKTHNOPKY4I363VITTYFANCNFSM5UPIPFVQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

l33333on commented 2 years ago

Somehow I still didnt achieve the 7Hz... Official SDK worked flawlessly