Page 1 of 1

Quadcopter FollowTarget

Posted: 25 May 2015, 15:44
by DannyYeong
Hi,

I'm having trouble with the quad following a designated target. The problem is:

When the Quad is moving in the z-axis, changing the Target position will also change the Quad's new height (no problem). However, if the quad was allowed to achieve balance first, and then the Target is moved, the Quad remained stationary. Is this because the Quad had a balanced body and thus no force could be implemented to achieve the new height?

Simulation File: http://www.filedropper.com/fullmodel

Re: Quadcopter FollowTarget

Posted: 25 May 2015, 19:09
by DannyYeong
UPDATE:

Here's the file with the Quad still waving about when reach about the target height.

When the Target sphere is moved around the Z axis during simulation, the Quad could follow it easily. I'm not sure what's causing the Quad to keep stationary (previous post file) after it achieves balance.

File: http://www.filedropper.com/fullmodel_1

Re: Quadcopter FollowTarget

Posted: 25 May 2015, 19:49
by coppelia
Hello,

the problem lies in your algorithm. There a literally thousands of ways of doing what you want to achieve. But this is typically a control (or regulation) problem.

Cheers