Hi, welcome to the Botball Community! I assume you're using the KIPR Link (2013 Botball controller) and not the CBC (2012 and earlier)? If that assumption is correct, there should be some sample code for the camera in the workshop slides, which I think includes info on blob size. I will lookup the slide number when I have a moment and get back to you.
EDIT: Based on slide 236 in the 1.4.9 workshop slides, I *think* you want get_object_area(channel, object)
Let me know if you have any follow-up questions.
-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
-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
Hi, welcome to the Botball Community! I assume you're using the KIPR Link (2013 Botball controller) and not the CBC (2012 and earlier)? If that assumption is correct, there should be some sample code for the camera in the workshop slides, which I think includes info on blob size. I will lookup the slide number when I have a moment and get back to you.
EDIT: Based on slide 236 in the 1.4.9 workshop slides, I *think* you want
get_object_area(channel, object)
Let me know if you have any follow-up questions.
-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
Jeremy, is there away to tag other community members in posts? I believe TBTF is fairly experienced in getting blob sizes.
-Daniel Goree
Former...
Senior Project Manager
President
Norman Advanced Robotics (13-0113)
Unfortunately I don't think there is. :-(
-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
Thank you! I looked up the slide and I think it did just the trick. :)