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

normalizedForce is compared to normalizedGravity, is not a physical nonsense? #2341

Closed
marcociara379 opened this issue Dec 11, 2019 · 1 comment

Comments

@marcociara379
Copy link
Contributor

marcociara379 commented Dec 11, 2019

Hello everyone.
Looking at FastPhysicsEngine.hpp it is possible to see that the aircraft is set to not grounded (body.setGrounded(false)) whenever the normalizedForce (squared norm of body_wrench.force) is greater or equal the normalizedGravity. Why is that? They are different physical quantities. Should not it be something like

if (normalizedForce/body.getMass()/body.getMass() >= normalizedGravity)
[...]

Thanks,
Marco

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