Camera Enhancements?

6 replies [Last post]
Jeremy Rand
Jeremy Rand's picture
Title: Botball Youth Advisory Council
Joined: 04/03/2009
Posts:
BotPoints: 1168
User offline. Last seen 7 years 18 weeks ago.

I'm taking an informal survey regarding the camera, which may be used to help me develop a GCER paper. What features do you wish the CBC camera had which might make it more useful? Any particular use cases which the camera fails at, which you think could be improved?

Thanks!

-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

redbaron148
Title: Former Botball Youth Advisory Council Member
Joined: 04/22/2009
Posts:
BotPoints: 34
User offline. Last seen 6 years 36 weeks ago.

How about exposer/white balance parameter control?

Jeremy Rand
Jeremy Rand's picture
Title: Botball Youth Advisory Council
Joined: 04/03/2009
Posts:
BotPoints: 1168
User offline. Last seen 7 years 18 weeks ago.

I should definitely be able to put info on those in the paper. Thanks for the suggestion. :-) Any other camera features you'd like to see?

-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

AdamF
Title: MiniBot+
Joined: 03/17/2010
Posts:
BotPoints: 62
User offline. Last seen 9 years 19 weeks ago.

Evan and I are also working on a paper on the usage of the camera in Botball. One of the things that we would like to see is changing color models at runtime. I was glancing through the KIPR firmware Git repository and noticed that they may be adding that in the next release. Do you by chance know if the next official firmware release will be before GCER?

Adam Farabaugh
Hampton High School

Jeremy Rand
Jeremy Rand's picture
Title: Botball Youth Advisory Council
Joined: 04/03/2009
Posts:
BotPoints: 1168
User offline. Last seen 7 years 18 weeks ago.

I'm not sure what KIPR's plans are, but I actually have some code written (but untested) which should allow KISS-C programs to modify color models (it was developed for my GCER paper). Once I have a chance to test it out I'll stick it in my GitHub and upload a userhook0.

-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

RDoherty
RDoherty's picture
Title: NooBot+
Joined: 05/18/2011
Posts:
BotPoints: 9
User offline. Last seen 11 years 18 weeks ago.

The old cameras on the XBC were connected via a flexible cable and were movable with motors and servos.
The current camera, while better (lower resolution = faster processing) is difficult to use as a controllable sensor - even with the flexible USB cable supplied this year.
Also, a right angle USB connector out of the CBC would facilitate a smaller footprint in the start box.

BTW, ditto on the run-time mods to color models, exposure and others.

If a robot is misbehaving, it's doing EXACTLY what you told it to do.

Jeremy Rand
Jeremy Rand's picture
Title: Botball Youth Advisory Council
Joined: 04/03/2009
Posts:
BotPoints: 1168
User offline. Last seen 7 years 18 weeks ago.

I must disagree with your statement that the CBC camera is faster than the XBC camera. The XBC had the benefit of an extremely low-latency and high-performance FPGA which handled the camera, while the CBC is stuck with a crappy Full-Speed USB interface on a crappy Linux OS (not real-time) which drastically slows things down. I never noticed any lag with the XBC camera, and the framerate was very fluid (I used to know the exact framerate, but haven't looked through that code in a while). CBC... visible lag of over 300ms, and the framerate is nowhere near fluid.

Hardware-wise, I can't do anything; I'm strictly a software guy. Color model changes are definitely going to be in the paper; I'll try to get the exposure settings in there too (got 6 whole days left to get that done, plus write several sections of two other papers...).

Thanks for your feedback!

-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