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

maxDistance unit vs oculus M1200d real range #54

Open
JaouadROS opened this issue Nov 28, 2022 · 2 comments
Open

maxDistance unit vs oculus M1200d real range #54

JaouadROS opened this issue Nov 28, 2022 · 2 comments

Comments

@JaouadROS
Copy link

Hi,
In the oculus M1200d datasheet, it stated that the maximum distance is 10m for 2.1MHz settings, and when looking at sdf file it is by default 1.2 maxDistance. At first, I thought it is 1.2MHz and the distance is deduced wrt the frequency but it is not the case as 1.2 is actually a distance as can be seen in the screenshot where the object is located at 1.2 from the sonar:
Screenshot from 2022-11-28 16-29-33

My question is what dimension the parameter maxDistance has? should I scale the 1.2 to 10m when working with the sonar image?
I can just work with 1.2 as it seems to be coherent with the sonar's pose given by gazebo but I need to have 10m distance to cover more space in the scene.
Thank you!

@woensug-choi
Copy link
Contributor

maxDistance tag is to handle calculation quantity to control refresh rate! It's not the spec sheet data value.
It crops the point cloud within the maxDistance range to calculate sonar equations.
It is actual meter unit dimension. If you put 10 at maxDistance it will calculate all cloud point up to 10 m range with slower refresh rate!

@JaouadROS
Copy link
Author

Okay I understand, so is there any way to have 10m coverage and the same image resolution as oculus M1200d spec sheet?

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

2 participants