LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Flat sequence structure


@John1982 wrote:

Hello. Weird [...]


Smiley Very Happy  Auto-correct?

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 11 of 17
(731 Views)

auto correct?

0 Kudos
Message 12 of 17
(713 Views)

Intially I i put 2000ms but it was too short to see the effects to i increased the time.  But do u have any idea  why my drone doesn't rotate anti/clockwise 360degree.. Hmmm parallel? What will happen? 😕 

0 Kudos
Message 13 of 17
(712 Views)

Hi John,

 

I don't know why your drone doesn't react on your commands. I don't have such a drone and I can't test your VIs...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 17
(687 Views)

I'm guessing you're using the AR Drone Toolkit. They have their own group and you may have better luck there.

 

Are there example programs where you got the Control Drone.vi?

 

1. Remove all time delays from your subvi's.

2. Replace the wait vis with my attached vi and use the error wires to locate the delays. (OK it's not mine I grabbed it from Peter Blume. Get his book LabVeiw Style Guide it has lots of great stuff)

3. Remove the flat sequence structure.

 

Then troubleshoot. Does true=Take Off? If it does you wil have to click the button on. In your sub vi's are you using the correct constants in the cluster.

 

I assume the sequence should be

 

Start Motors

Climb x feet

Hover

Yaw Left

Yaw Right

Climb - x feet

Stop motors

 

It looks like your missing some steps.

 

Norm

 

0 Kudos
Message 15 of 17
(582 Views)
viper,

You are responding to a 2 year old thread. Why?
0 Kudos
Message 16 of 17
(569 Views)

Coulda swore it was on the 1st page. OOps

0 Kudos
Message 17 of 17
(561 Views)