Hi all,
We are programming Botballs for an experiment that involves color recognition. The Botballs we are using come with CBC v2. While we know how to set the color channels (0-3) manually through the CBC v2 user interface, we are wondering if there is away to set specific hue and saturation values for each color channel in our code. For example, can we code the robot to set its Color Channel 0 to be a red color that has hue from 0 to 20 and saturation from 160 to 180?
We really appreciate your help!
Hi IRRL,
There is currently no way to programmatically set color channels on the CBCv2. There are ways to do this on the KIPR Link, but that obviously doesn't help you in this case. Sorry :/
Braden McDorman
Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.
Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.
Hi IRRL, welcome to the Botball Community!
If you're willing to risk installing a hacked firmware, the NHS Patchset firmware does have functions to change color models from your C program. However, there is no warranty for unofficial firmwares, so this is at your own risk.
-Jeremy Rand
Senior Programmer, Team SNARC (2012-2013), Norman Advanced (2010-2011), Norman HS (2008-2009), Norman North (2005-2007), Whittier MS (2003-2004)
2012-2013 VP of Tech, 2011 President, Botball YAC (2009-2013)
Mentor, Alcott and Whittier MS
Thanks for the response! We will need to work our way around it then...
Thanks Jeremy! We are actually thinking about trying out the NHS Patchset firmware. Is the latest patchset 2.1.4-nhs-2?