This is an autonomous Lego NXT robot developed by: (in alphabetical order,) Nicholas Flandin, Alvin Ng, & Nick Tan. The robot goes from the bottom right to the top left square of the maze by following the wall to its right, then calculates the shortest path back to the bottom right square, and uses it to get back. You may notice the 'help' given to the robot on the way back, it was needed because of a bug which has since been corrected. This robot is a term project for the ENSC 182 course offered in Simon Fraser University's Mechatronics Systems Engineering Faculty.
can u send me the code at mandarcool@yahoo.com plzzzzzzzzzzzzzzzzzz
mandarkc 4 days ago
@dktherocker You have the right idea. There is a threshold for the ultrasonic sensor in which the robot uses to determine its alignment. In terms of logic sequence, you could use a structure to determine whether parts of the maze have been visited (A visited before counter). For the implementation in the robot above, an array was used to keep track of all positions visited and it can then determine whether it has been to certain parts of the maze before.
ntan87 1 week ago
@snoof888, The grid is to keep track of position, not for navigation
ntan87 1 week ago
Esto es algo realmente genial robot laberinto
TheMarioLegoMaster 3 months ago
hola soy de colombia encerio estoy muy interesado en la robotica y me interesaria analizar esta programacion, es muy notable que es muy compleja pero cuando entiendes lo dificil despues es logico lo mas facil opr eso te pido el favor de que si me puedes enviar la programacion porfa quiero estudiar esta carrera no importa si esta en ingles yo me se defender
porfa enviala a jejamartinvar@hotmail.com o al jejamartinvar@ovi.com tambien es urgente
encerio te agradesco futuro(s) colega(s)
jejamartinvar 4 months ago
mb u got the code i could use of yours just to start off?
snipers116 4 months ago
@AgentXanShadow Well you could start off by setting a low ultrasound threshold, ie setting your motors to move the bot forward until the ultra sensor detects a distance more then 'x'. You will also need to figure out some kind of logic sequence so that the bot does not enter parts of the maze it has already entered before.
dktherocker 6 months ago
that sound is annoying
AhmedSamehSelim 7 months ago
AWESOME! Would you mind if i asked for a copy of your program
Shankyam 8 months ago
this is so cool would you mind if i asked for a copy of your program or at least some advice as to how you did it
AgentXanShadow 8 months ago