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

Raytracing integrated range #1226

Open
chrisflesher opened this issue Sep 20, 2021 · 0 comments
Open

Raytracing integrated range #1226

chrisflesher opened this issue Sep 20, 2021 · 0 comments

Comments

@chrisflesher
Copy link

chrisflesher commented Sep 20, 2021

I am wondering if it would make sense to add something to mb_rt to provide the flight distance the beam traveled? For example this could be useful for re-calculating attenuation loss through the water column (often the sonar firmware calculates this but it is not very accurate).

Would it be easy to add a rplot similar to the xplot, zplot, and tplot variables that returns range traveled by the ray? Also maybe an r output for total range traveled at the end of computation? Or maybe dplot / d are better variable names?

Right now I am calculating the distance the beam traveled using xplot and zplot points, drawing line segments between those but this is not going to be super accurate because the lines are not actually straight. It seems like some kind of integration with raytracing might provide the most accurate result?

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

1 participant