Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

How to link LiftDrag plugin code to the model?

I have a model of a plane, and I want to add some plugins code to make it able to fly and controllable by servo inputs(like zephyr with ardupilot model)

Where to put LiftDrag code if I want to add it for example to joint from fuselage to wing?

<joint name="Wing to body" type="fixed"> <parent>link_1</parent> <child>link_1_0</child> <pose>0 0 0 0 -0 0</pose> <physics> <ode> <limit> <cfm>0</cfm> <erp>0.2</erp> </limit> <suspension> <cfm>0</cfm> <erp>0.2</erp> </suspension> </ode> </physics> </joint>