Opened 3 years ago

Last modified 3 years ago

#35 new defect

PID Thrust

Reported by: gubetanc Owned by: Sanahuja Guillaume
Priority: major Milestone:
Component: filter Version:
Keywords: PID thrust Cc: pedro.castillo@…

Description

There is something wrong with this library; When you take off the drone for a first time, everything it's ok but when you land the drone and you want to take off again, it is seems like the drone cannot take off but after a few seconds, the drone do it. If you kill the program and you launch again, works very good for the first or two times.
Using the same library of PID thrust, I switch the control laws in order to do a trajectory in 3D but sometimes this siwtch cause a problem in the z-axis. I'm not sure but may be is a problem with the integral part.

Change History (1)

comment:1 Changed 3 years ago by Sanahuja Guillaume

Hi,
Can you try to force the delta time in the PidThrust?? In the ground station, it is in control law tabs, u_z and "period, 0 of auto". If period is 0, put 0.005. You need also to put 0.005 for the period of your custom z control law.

Note: See TracTickets for help on using tickets.