Dojo - simulating a quadcopter

Hello,
I started working on a multi rigid body dynamic using Dojo.jl.
I’m interested in simulating a Quadcopter, my question is : How can I simulate the fan’s thrust force?
thanks
Daniel

How much accuracy do you need? As a first principle approximation the force is proportional to the square of the set value of the speed…

Second effect to take into account: The thrust depends on the apparent wind velocity. There is a value of v_a when the thrust becomes zero.

Third effect: The acceleration of motor and rotor is limited, so the actual value of the speed cannot change immediately.

If you take these three effects into account you are already pretty good…

See also:

3 Likes

thank for the reply this will be most helpful, my next issue is how do I implement this forces in the simulation.
When going over the API I found a section Defining a Controller, at this section there is an example of single pendulum swing-up.
This example gives the general idea of how to work with the controller but it’s too simple.
what I don’t understand is this:

  1. If my mechanism is a multi-body, how do I find and control a specific body/joint?
  2. In the example they control the pendulum angle, is the controller, by closing loop on the angle, apply a kinematic behavior (that is ignore the dynamic of the system) or does it always apply forces only?
  3. If I have a floating body, like quadcopter, how can I write a controller which will apply the thrust forces of the 4 fans (given the question above)?

If any one has an example or can help me understand how to implement this I’ll be grateful.
and again thanks for any and every one.