Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to increase the rplidar S2 publishing frequency upto 15Hz? #4

Open
debanik123 opened this issue May 7, 2022 · 3 comments
Open

Comments

@debanik123
Copy link

how to increase the rplidar S2 publishing frequency upto 15Hz?
Rplidar current publish frequency is only 10Hz. However the publishing frequency of rplidar A2 is 13 to 15 Hz.

@tane-superior
Copy link

Seconded. Changing the scan_frequency parameter does nothing in terms of increasing the publication frequency of the /scan topic, and it would appear from the source code that the motor speed does not depend on that parameter anyway.

@kosmonauta144
Copy link

for rplidar a2m6, giving PWM signal from Arduino or simply connecting PWM pin to 5V pin increase the speed up to 21 Hz.
But for S2 I have no idea how to increase the frequency. I am now fighting with S1 to speed it up to 15 Hz but it seems that rpm commands are sent by serial because there is no visible voltage change on wires unless drop in voltage from PWM signal is covered by increasing the power voltage (because two wires are connected there). But this would mean that S1 is rotating with full speed which it's does not. Maybe giving external pwm signal would resolve the issue

@kosmonauta144
Copy link

the same issue is mentioned here https://github.com/Slamtec/rplidar_ros/issues/84 with parameter solution from @deyouslamtec but it does not work for me 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants