Home / Sensors / NXTCam Colour Maps Explained

NXTCam Colour Maps Explained

Vision Subsystem v3 for NXTSo you bought an NXTCamV2 or V3 and as you read through the fine manual you were left scratching your head, wondering how those colour maps worked.

The colour maps in the NXTCam are ranges of colours that it uses to track objects by matching them to what it’s seeing.  To configure them, you can use a nice utility, NXTCamView that allows you to adjust these maps on your PC, but what if you’d prefer to do it all from your NXT?  Well, now you can.

Colour map colour picker I never really understood the terse explanation in the original user guide and judging from questions emailed to me and on many forums, it seems I wasn’t the only one.  I asked Mindsensors if they wouldn’t mind writing a reference guide and they did.  The resulting guide is excellent and has a nice example of how the 48 byte colour map is built-up.  There’s an NXC program you can download as well.

In the end it seems it’s fairly trivial, but then again, most things are once you know how they work.  20-20 hindsight and all that.

About Xander

Xander Soldaat is a Software Engineer and former Infrastructure Architect. He loves building and programming robots. He recently had the opportunity to turn his robotics hobby into his profession and has started working for Robomatter, the makers of ROBOTC and Robot Virtual Words.