1 | initial version |
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.