ROBOTC.net Blog  

ROBOTC News

Archive for April 26th, 2011

Colored Object Tracking using the VEX Cortex and NXTCam

without comments

No official vision system available for the VEX Cortex? No problem.

Thanks to some really cool work by Xander, I2C sensors for the NXT can now be used on the Cortex as well (with a little bit of effort). As we’ve covered in some of our previous posts, ROBOTC and the VEX Cortex unlock a ton of cool robotic applications – controlling pneumatics, controlling high torque and high speed motors through relays, outputting to the LCD screen, ect. Being able to use the repository of I2C sensors available for the NXT on the Cortex unlocks many, many more.

To demonstrate this, we’ve chosen the Mindsensors NXTCam. With the NXTCam, you’re able to connect it to a computer over USB and “teach” it to track up to 8 different colors. Once it’s hooked up to your robot, it returns data related to the colors it’s tracking – size, x and y positions, ect. This make it ideal for tracking a colored object, distinguishing between multiple different colors, and even advanced line tracking (more on that in a future post).

In this video, we’ve trained the NXTCam to track the color red. ROBOTC code uses the data from the camera to center the robot on the red ball and drive up to it until it’s within a certain distance.

Written by Jesse Flot

April 26th, 2011 at 12:42 pm

Posted in Cortex,VEX

Tagged with , , , ,

St Louis FTC Finals ROBOTC Q&A

without comments

Click to enlargeThis year at the St Louis FTC finals, Team 4466 (R.A.B.B.I.) will holding nightly FTC practice field sessions as part of their after pit activities.

On Wednesday they will also be organising workshops and lectures and a Q&A session with your truly (Xander Soldaat). I’m going to have to get up at the ungodly local time of 4AM to be able to be there via Skype but I am sure it’ll be fun.

So if you’re looking to learn more about advanced ROBOTC programming techniques, how to debug your Samantha module or what’s coming in the upcoming major release of my driver suite, make sure you’re at the downtown Hilton “Independence” conference room, starting at 20:00 on Wednesday.

You won’t want to miss this!

Written by Xander Soldaat

April 26th, 2011 at 8:11 am

Posted in FTC,General News,NXT

Tagged with ,