Confusion in FastPhysicsEngine.hpp where caculating drag force #4880
Replies: 1 comment
-
avg_linear is average speed! avg_linear = (current.twist.linear + (current.twist.linear + current.accelerations.linear * dt_real)) / 2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm reading code in FastPhysicsEngine.hpp and confused about the following code on line 363. Why the right part in the equation multiply 0.5f?
AirSim/AirLib/include/physics/FastPhysicsEngine.hpp
Lines 355 to 356 in 6688d27
Beta Was this translation helpful? Give feedback.
All reactions