From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get this simple heading calculator to to progress towards target waypoint over time?

I've built what is in essence a heading calculator. But now I want to be able to get it to work so that over time x1 and y1 move towards the target x,y and update the heading accordingly. I'm new to LabView so not sure how it is meant to be done.

 

Any help would be greatly appreciated!

 

This is what I have so far:-

0 Kudos
Message 1 of 2
(1,957 Views)

It looks liek you need to enclose everything in a while loop.  Use a shift register to pass the current position and heading to the next iteration of the loop.

 

Lynn

0 Kudos
Message 2 of 2
(1,934 Views)