SwiftGust / ardupilot_gazebo

Repository for ArduPilot & Gazebo Software In Loop Simulation Interfaces, Models
76 stars 88 forks source link

Request detail on how to get LiftDragPlugin values #38

Open LightningPORTO opened 3 years ago

LightningPORTO commented 3 years ago

Hello, I'm attempting to build a gazebo model using the Typhoon as an example.

My model has 7Kg of mass in total (oposite of the 2Kg from the Typhoon), so I cant get my model to fly.

I have narrowed it down to the liftDragPlugin usage.

Any idea how I can get the values for my UAV? The propeller is an 18 inch.

NOTE: I have already read the tutorial on gazebo sim for the Lift Drag plugin but with no result (http://gazebosim.org/tutorials?tut=aerodynamics&cat=physics)

SwiftGust commented 3 years ago

Hi, @LightningPORTO

LiftDrag Plugin is tricky to use for create rotary wing(propeller, rotor and so on), needs deep understanding of aerodynamics.

To see how it is used, best practice for open source code is to read code itself.

For gazebo 9, https://github.com/osrf/gazebo/blob/gazebo9/plugins/LiftDragPlugin.cc

Check your version of gazebo using to see how it works