How to link LiftDrag plugin code to the model?

asked 2023-04-22 03:19:23 -0500

Sunny gravatar image

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>

edit retag flag offensive close merge delete