Need help Urgently (NXT COLOR SENSOR)

Discussion specific to projects ideas and support.
hassenplug
Posts: 346
Joined: 27 Sep 2010, 03:05
Contact:

Re: Need help Urgently (NXT COLOR SENSOR)

Post by hassenplug »

phoenixdancer wrote:Im will do what hassenplug suggested tomorrow. I should have created such a debug program from the start -.- how simple minded of me!
Doing that kind of thing is pretty easy to overlook. Personally, I'm a really good programmer, so I don't need to do it. At least, that's what I think, WAY TOO MUCH.

Steve
---> Link to lots of MINDSTORMS stuff under my picture --->
phoenixdancer
Posts: 6
Joined: 10 Nov 2011, 13:35

Re: Need help Urgently (NXT COLOR SENSOR)

Post by phoenixdancer »

Well I debugged it. And managed too get it fixed :)
Kinda works but sometimes misses a colour or sees it when not required lol.
I can live with that though.
loopymech
Posts: 35
Joined: 30 Sep 2010, 15:35

Re: Need help Urgently (NXT COLOR SENSOR)

Post by loopymech »

I for one am curious what you found and what code you fixed to make things work. :D

If your robot is still missing colors (or thinks it's seeing them at times when it should not), you might need to add some noise filtering or averaging to the sensor data.

See the thread below for an interesting discussion about filtering...

https://sourceforge.net/apps/phpbb/mind ... p?f=2&t=52


-Loopy
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests