Quadcopter FollowTarget

Typically: "How do I... ", "How can I... " questions
Post Reply
DannyYeong
Posts: 44
Joined: 24 Feb 2015, 17:06

Quadcopter FollowTarget

Post 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

DannyYeong
Posts: 44
Joined: 24 Feb 2015, 17:06

Re: Quadcopter FollowTarget

Post 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

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: Quadcopter FollowTarget

Post 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

Post Reply