How to make the quadricopter fly to a specified coordinate?

Typically: "How do I... ", "How can I... " questions
Post Reply
wode
Posts: 18
Joined: 12 Oct 2019, 03:47

How to make the quadricopter fly to a specified coordinate?

Post by wode »

I use five native mobile robots: quadricopters in my scene. And i try to make the quadricopters fly to a specified coordinate but i cannot do this. I only can control the direction and velocity of quadricopter. However, when i want the quadricopter fly to some specified positions, i cannot get the direction and velocity of quadricopter in real time.

Then i try to set the position of the quadricopter's Quadricopter_target to the specified coordinate, but when simulation starts, Quadricopter_target's position restored.

So how can i make the quadricopter fly to a specified coordinate?
Thanks for your reply.

fferri
Posts: 1217
Joined: 09 Sep 2013, 19:28

Re: How to make the quadricopter fly to a specified coordinate?

Post by fferri »

wode wrote: 25 Dec 2019, 03:27 Then i try to set the position of the quadricopter's Quadricopter_target to the specified coordinate, but when simulation starts, Quadricopter_target's position restored.
That's how it is meant to work: you set the target position by moving Quadricopter_target object. It should work also if setting that position before simulation start.

However you can modify the embedded script of Quadricopter to make it behave as you wish.

Post Reply