Mindstorms NXT dual-ultrasonic object follower
Uploader Comments (NXTFreak)
Top Comments
-
Hello NXTFreak,
How do you compare the values of the two sensors?? So how you can programme it that
the NXT knows where the object is??
We're doing a schoolproject with this NXT,
so if you want to help us we're very gratefull
Kim and Diana
-
Hello NXTFreak,
How do you compare the values of the two sensors?? So how you can programme it that
the NXT knows where the object is??
We're doing a schoolproject with this NXT,
so if you want to help us we're very gratefull
Kim and Diana
All Comments (18)
-
How do you program it to run straight in till (as in actually interuping the curent task (of driving straight,)) it gets to a wall and then turn? Also, can you use it like a motion sensor?
-
@TheNeXTStorm @NXTFreak maybe put it up under video?
-
can you send me the program
-
can you do it with one ultrasonic sensor too?
-
then put a camera on it and- presto, it's a security cam!
-
Thats cool but easy to programm... you can make tham to follow to object))) :D
-
good job :)
-
shit like my one ^^
-
yup
-
I agreee
idk if u know how but i've been messing w/ my programming.....how do u get ur robot to back up if its too close or a wall or object like it??
magemager0 3 years ago 3
Well, it sounds like you want a switch block in your program. You can set the switch block to use the ultrasonic sensor, and then set the parameters to how close/far away the object will be. Put whatever blocks you want to execute if the parameters are true in the upper sequence beam of the switch block, and whatever blocks you want to execute if the parameters are false in the lower sequence beam. Hope that helps. NXTFreak
NXTFreak 3 years ago
So it rotates just fine.... can it follow an object forward and backward?
miglspam 3 years ago 3
No, it can't. It can only go left and right.
NXTFreak 3 years ago