Wind simulation in gazebo 7
Hi, I'm writing a paper and using gazebo 7 to simulate a quadrotor. One of the reviewers asked for clarification on how the wind simulation happens. Does it simply add a number (proportional to the wind velocity) to the robot's current velocity value? does it use force?
Maybe this question regards the inner workings of the physics engine and I should ask it somewhere else. I don't know.
Anyway, thank you very much!
Asked by araujor on 2020-06-01 06:49:46 UTC
Answers
Hello, here's the initial pull request where the wind was implemented:
https://bitbucket.org/osrf/gazebo/pull-requests/1985/added-wind-support/diff#chg-gazebo/physics/Wind.cc https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/1985/page/1
There's some code to parse SDF, tests, etc. but the relevant part for your question is in WindPlugin.cc
. You'll notice that a call to AddRelativeForce()
is applied to all the links of the model that are affected by the wind.
Asked by Carlos Agüero on 2020-06-01 10:33:42 UTC
Comments
Thank you! 'll check it out!
Asked by araujor on 2020-09-21 12:03:45 UTC
Comments