LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make "follow a line" VI turn rover both directions

Hi,

I'm trying to use LabVIEW to control an NXT rover. I found the follow a line VI in the NXT toolkit, but it appears to cause the rover to veer in one direction. This is making it so the rover will turn in one direction, but not the other direction. A quick search on the forum didn't turn up any hits. Can someone explain how to make the rover turn in other directions? Attached is the follow a line VI.

Thanks

0 Kudos
Message 1 of 14
(12,698 Views)

Hi cgates!

 

I'm not sure why your Rover is only going one direction.   There are some good tutorials online that will help you get started.   Try reading these articles....they should help you get started:

 

 

 

 

LabVIEW Add-ons for LEGO® MINDSTORMS® NXT

 

Hope this helps!

 

Regards,

Starla T. 

0 Kudos
Message 2 of 14
(12,694 Views)

Thanks for the reply. I can't get the tutorial to download. Keep getting a a message that the URL is wrong. Can you post again?

 

0 Kudos
Message 3 of 14
(12,687 Views)

Are there any resources on the web for following a line with the NXT using Labview toolkit? I've found a lot of mention of labview, but not much in the way of actual examples. The built in line following doesn't seem to work well.

0 Kudos
Message 5 of 14
(12,677 Views)

Has anyone got a VI to share so I can try…and learn from an actual working model please.

I want my LEGO robot to follow the black line on the circuit paper which came with the kit. I heard it is called 'Bang-Bang' control…is that correct?  I have built the robot 🙂

Thank you in advance. 

Michael

 

Dr. Michael Vallance
Future University, Japan.
Homepage http://www.mvallance.net
International Virtual Environments Research Group (iVERG) http://www.iverg.com
0 Kudos
Message 6 of 14
(12,451 Views)

If you're using the NXT LabVIEW toolkit as well, the function you're looking for is called "Follow A Line."  This can be found under NXT Robotics >> Behaviors >> Follow A Line.  When you drag that function onto your block diagram, it should drop down some working code that you can take a look at.  Let me know if that's not what you're looking for. 

0 Kudos
Message 7 of 14
(12,442 Views)

Thank you. This is helpful.

Dr. Michael Vallance
Future University, Japan.
Homepage http://www.mvallance.net
International Virtual Environments Research Group (iVERG) http://www.iverg.com
0 Kudos
Message 8 of 14
(12,343 Views)

Hi Th0r; I have same problem like mvallance. I'm using Labview 2010 but I couldn't find this file (NXT Robotics >> Behaviors >> Follow A Line). Could you please send me the source file?

thank's a lot for your help... 

0 Kudos
Message 9 of 14
(10,328 Views)

You will find it under FILE - NEW NXT - Robot Project ..

 

and there is a Line Follower VI

 

 

Dr. Michael Vallance
Future University, Japan.
Homepage http://www.mvallance.net
International Virtual Environments Research Group (iVERG) http://www.iverg.com
0 Kudos
Message 10 of 14
(10,322 Views)