![]() |
NXT Light Tracking
Hey, can anybody help me figure this out? If there is a light source that is, say 7 ft away from a NXT bot with a light sensor, and my goal is to move towards it, how do I get there? I know that I can have the robot move in a circle until it finds a value higher than 50 or so, but when the robot is at 7ft, it reads 50, and as it moves closer it goes up to 90. What would be the best way to get to that light source?
In psuedo code I was thinking this, but Im not sure if its possible or even if it is the best way, but here is what im thinking. Code:
left motor val=60How can I make that work in LabVIEW? Thanks, Mike |
| All times are GMT -5. The time now is 11:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi