@TheDevilnish Like I said to 77sweetstar, the map is a hard-coded array of lines. The lines are simply a pair of points A and B, each with X and Y coordinates.
Hi your work was awesome, I am doing my dissertation in mobile robotics for that i am using Lego nxt for simulation result. I couldn't get an idea of how to store the environment map in nxt... How you stored the external map.. Could you tell me this. If so it would be great for my project. Thanks in advance
@77sweetstar The map in this particular project was simply a hard-coded array of integers specifying a series of lines i.e. points X1, Y1 to X2, Y2. Those lines are then used to estimate the distance to the wall in front of the robot. However, there are better ways of creating maps if you have more computational resources.
You might want to get in touch with esmetaman, who is also working on a similar project using NXT and leJOS.
How did you handle the problem with the ultrasonic sensor returning 255 if it hits the wall in the wrong angel? Is the source code freely available somewhere?
@eiiriikz The test map was designed by our lecturer so that no straight line drawn anywhere inside it could be more than 255cm, so we didn't have to deal with this issue.
The source code is only useful for people programming in RobotC. If you are, then send me a PM.
Hi Boffin, it is a great job. I actually have afew question for you.
1-We know that it is possible to connect it to a pc (or a laptop) via the bluethooth usb. If I want to do slam (Simultaneous Localization and Mapping) with NXT, how is it possible to do the displacement graphs (x, y, Teta) on the laptop online or even offline?
2- Does it somehow work with MATLAB or C++?
3- how can I use a computer as a data acquisition system?
@ahmonjazeb All the navigating for this project was done on the NXT itself, but I don't think it would have the memory to handle SLAM, so you'd definitely need a NXT Bluetooth - PC interface and do your calculations there. I can't help you with that, but I did a quick search and found someone who has done something similar to what you want. I'll send you a link.
We had a compass connected, but due to the structure of the building and the number of computers in the labs, the compass data was skewed and quite inaccurate. Therefore, in the final demonstrations, we didn't use it at all. Of course, if we had done it outside, things would have been much better.
Hi, how did you save the map in matlab???being a beginner to matlab pleaz explain it a simple as possible thx
TheDevilnish 6 months ago
@TheDevilnish Sorry, I can't help you with that. We did not use MatLab to do this project. Everything was calculated on the NXT.
BoffinbraiN 5 months ago
@BoffinbraiN Thx for answering but how did you save the map on the NXT??If you hv used arrays how did you represent the map with it??thx
TheDevilnish 5 months ago
@TheDevilnish Like I said to 77sweetstar, the map is a hard-coded array of lines. The lines are simply a pair of points A and B, each with X and Y coordinates.
BoffinbraiN 5 months ago
Hi your work was awesome, I am doing my dissertation in mobile robotics for that i am using Lego nxt for simulation result. I couldn't get an idea of how to store the environment map in nxt... How you stored the external map.. Could you tell me this. If so it would be great for my project. Thanks in advance
77sweetstar 1 year ago
@77sweetstar The map in this particular project was simply a hard-coded array of integers specifying a series of lines i.e. points X1, Y1 to X2, Y2. Those lines are then used to estimate the distance to the wall in front of the robot. However, there are better ways of creating maps if you have more computational resources.
You might want to get in touch with esmetaman, who is also working on a similar project using NXT and leJOS.
BoffinbraiN 1 year ago
How did you handle the problem with the ultrasonic sensor returning 255 if it hits the wall in the wrong angel? Is the source code freely available somewhere?
eiiriikz 1 year ago
@eiiriikz The test map was designed by our lecturer so that no straight line drawn anywhere inside it could be more than 255cm, so we didn't have to deal with this issue.
The source code is only useful for people programming in RobotC. If you are, then send me a PM.
BoffinbraiN 1 year ago
Hi Boffin, it is a great job. I actually have afew question for you.
1-We know that it is possible to connect it to a pc (or a laptop) via the bluethooth usb. If I want to do slam (Simultaneous Localization and Mapping) with NXT, how is it possible to do the displacement graphs (x, y, Teta) on the laptop online or even offline?
2- Does it somehow work with MATLAB or C++?
3- how can I use a computer as a data acquisition system?
thanks in advance
Amir
ahmonjazeb 1 year ago
@ahmonjazeb All the navigating for this project was done on the NXT itself, but I don't think it would have the memory to handle SLAM, so you'd definitely need a NXT Bluetooth - PC interface and do your calculations there. I can't help you with that, but I did a quick search and found someone who has done something similar to what you want. I'll send you a link.
BoffinbraiN 1 year ago
Nice!
samthetechie 1 year ago
Nice video :)
jozefdobos 3 years ago
We had a compass connected, but due to the structure of the building and the number of computers in the labs, the compass data was skewed and quite inaccurate. Therefore, in the final demonstrations, we didn't use it at all. Of course, if we had done it outside, things would have been much better.
BoffinbraiN 3 years ago
good work dave, woo Robots, see you in the exam :S
liljohnpi 3 years ago
Thanks. You too.
BoffinbraiN 3 years ago
Care to elaborate on that?
BoffinbraiN 4 years ago
dude, 1 look at his only video on here and you will there is way more wrong with him!
liljohnpi 3 years ago
Yes, I couldn't help but notice that.
BoffinbraiN 3 years ago