Search found 10 matches

by skelly89
07 Dec 2010, 01:56
Forum: Mindstorms Software
Topic: Having a robot be aware of it's position in a maze
Replies: 11
Views: 15126

Re: Having a robot be aware of it's position in a maze

Nice post - I actually use many of the techniques described in the robot I posted. I was actually referencing how long it would physically take to draw a maze that large haha. The simple 5x5 maze that I used in that video took me about an hour, but I also was being a perfectionist so it probably cou...
by skelly89
06 Dec 2010, 21:28
Forum: Mindstorms Software
Topic: Having a robot be aware of it's position in a maze
Replies: 11
Views: 15126

Re: Having a robot be aware of it's position in a maze

Really? I had a book that claimed 20x20 is the max but I never actually checked. Good to know! I would love to have a maze that large and watch the robot behavior but unfortunately it would take forever to contruct a maze that large.
by skelly89
06 Dec 2010, 18:29
Forum: Mindstorms Software
Topic: Having a robot be aware of it's position in a maze
Replies: 11
Views: 15126

Re: Having a robot be aware of it's position in a maze

Well thanks to all the great help and advice I have recieved from this forum I have completed this project and couldn't be happier. The example I have here is pretty small (a 5x4 maze) but the Mindstorms memory could potentially handle something as big as 20x20. This robot has position detection, or...
by skelly89
30 Nov 2010, 07:25
Forum: Mindstorms Software
Topic: Having a robot be aware of it's position in a maze
Replies: 11
Views: 15126

Re: Having a robot be aware of it's position in a maze

Hello, I'm having a lot of fun (and it's a fantastic learning experience) working on this project, but now I'm running into another issue that I believe stems from me not fully understanding the characteristics of now NXC works. My code works fine until my robot reaches a dead end and then all hell ...
by skelly89
29 Nov 2010, 01:55
Forum: Mindstorms Software
Topic: NXC 2D Arrays
Replies: 6
Views: 8493

Re: NXC 2D Arrays

Welp, I feel like a doofus. After trying out your code and still having the same issue, I had totally forgotten I had didnt' have the correct firmware on my Brick, which did not support multi-dimensional arrays. Downloading the correct version solved all my problems, although your code example was m...
by skelly89
29 Nov 2010, 00:59
Forum: Mindstorms Software
Topic: NXC 2D Arrays
Replies: 6
Views: 8493

Re: NXC 2D Arrays

Hello, I am having a heck of a time dealing with 2D arrays and I'm hoping somebody can illuminate my assuredly stupid blunder. I wrote a simple program that creates a 2D array, initializes all the values at 0, displays the empty array, changes some values and then displays the array again. However, ...
by skelly89
25 Nov 2010, 01:13
Forum: Mindstorms Software
Topic: Having a robot be aware of it's position in a maze
Replies: 11
Views: 15126

Re: Having a robot be aware of it's position in a maze

Thank you very much for the help john. I was a bit preemptive in writing this post, I was not on my home computer at the time and had to retype the code from memory on my laptop. I should have taken a bit more time to clean it up before I posted which would have taken care of the typos and such. You...
by skelly89
23 Nov 2010, 00:03
Forum: Mindstorms Software
Topic: Having a robot be aware of it's position in a maze
Replies: 11
Views: 15126

Having a robot be aware of it's position in a maze

Hello, I am currently building a robot that can solve a maze. So far my robot can successfully navigate the maze, but I am having issues with letting the robot know where it is currently positioned in the maze, and being able to check if the position it wants to move to has already been explored (th...
by skelly89
14 Oct 2010, 16:55
Forum: Mindstorms Software
Topic: Having problems getting a reading from light sensor in NXC
Replies: 7
Views: 11523

Re: Having problems getting a reading from light sensor in NXC

Thanks for the help guys. I do understand that you need to call the Sensor function to get the value, it was an accidental typo putting Sensor_S2 instead of Sensor(S2). I had it correct in my test programs but wrote it wrong when typing up this post. I understand that you need to have a function cal...
by skelly89
13 Oct 2010, 21:59
Forum: Mindstorms Software
Topic: Having problems getting a reading from light sensor in NXC
Replies: 7
Views: 11523

Having problems getting a reading from light sensor in NXC

Hello, I'm wondering if I could get some help on utilizing the NXT 2.0 Light Sensor using NXC and BricxCC. I am having a lot of issues getting the Light Sensor to work properly in both RobotC and NXC, and have a sneaking suspicion that it's a simple beginner error. I am trying to program a robot to ...