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 scan as fast as ping-viewer in python #101

Open
lixinghe1999 opened this issue Feb 22, 2021 · 1 comment
Open

How to scan as fast as ping-viewer in python #101

lixinghe1999 opened this issue Feb 22, 2021 · 1 comment
Labels

Comments

@lixinghe1999
Copy link

From my experiment, in Ping-viewer, Ping360 can scan 20 beams for one second. While when I keep all the parameters the same, and use transmitAngle(self, angle) in python, I can only scan 11 beams for one second.
I guess the reason is "in ping-viewer" we only have one command to scan a certain area. While in transmitAngle, we have arbitrary scan direction which have one command for each direction. Thus an arbitrary scan will have more delay.
So I wonder whether my guess is correct and how I can scan as fast as in ping-viewer (only scan certain area in the front of sonar)?
I appreciate your kindly help.
Thanks.

@patrickelectric
Copy link
Member

Hi @lixinghe1999,

Both run with the same approach, a request per profile message, I would recommend to check ping-cpp repository if you desire performance: https://github.com/bluerobotics/ping-cpp

It would also helps if you share your python script.

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

No branches or pull requests

2 participants