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

Calculate maxDistanceDurationMicroSec #13

Open
OtaviodaCruz opened this issue Dec 24, 2021 · 0 comments
Open

Calculate maxDistanceDurationMicroSec #13

OtaviodaCruz opened this issue Dec 24, 2021 · 0 comments

Comments

@OtaviodaCruz
Copy link

Sorry for the ignorance but I didn't understand the following code:

// Compute max delay based on max distance with 25% margin in microseconds
    maxDistanceDurationMicroSec = 2.5 * maxDistanceCm / speedOfSoundInCmPerMicroSec;

In particular, I don't understand why 2.5, if it's a 25% margin shouldn't be 1.25?

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