Hi, I was wondering if anyone has a good reference on how to program the Create (without the CBC). Is there a separate manual, because I didn't see it in the normal target manual. Thanks-
It's a bit outdated (uses XBC instead of CBC), but mostly applies the same way.
I do plan on publishing another Create paper at GCER 2012 if all goes according to plan.
-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
@ruler501, the libcbc examples were obsolete in 2008 when I published my first Create paper, and were made further obsolete in 2009. Almost every feature listed in my 2 papers is not doable using the libcbc examples; I would not recommend using the libcbc script code.
@Andrew, if you run into any problems with the stuff in my papers, I'm happy to help. Just post the problem on the forum and I'll look at it.
-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
I'm pretty sure that the script functionality in KIPR's current libs was copied almost verbatim from David Miller's Create lib from 2007. It looks to me like David was trying to use it for more accurate dead-reckoning (not autonomous operation), but it really isn't particularly suitable even for that. KIPR has never officially supported scripting, so they have no reason to update the lib; my guess is they just don't see a point to removing the code that's already in the lib, despite its obsolescence.
-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
You can use anything for programming just for compiling you should probably use KISS IDE and KISS IDE also allows easier transfers to the robot(unless you set up wifi)
My team this year used a program called notepad++ and put it onto the cbc through a flash drive
KISS-IDE should be fine. Flash drive and wifi should work too, but flash drive makes error checking a pain, and wifi requires some haxx (not that this is a bad thing; I use wifi fairly often). The only issue with KISS-IDE is that I suspect you'll need to do some #ifdef __arm__ magic, due to the simulator libs not treating scripting commands the same as libcbc treats them. Wifi won't have this issue (unless you compile for the simulator target), and a flash drive won't have this issue either.
I plan to release a new Create script library at GCER this year, which should make it quite a bit easier to use scripts in KISS-IDE.
-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
http://community.botball.org/forum/technical/programming/gcer-papers-cre...
It's a bit outdated (uses XBC instead of CBC), but mostly applies the same way.
I do plan on publishing another Create paper at GCER 2012 if all goes according to plan.
-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
There are some prewritten scripts here if you want some help/examples
https://github.com/kipr/kiss-targets/blob/master/libraries/create/kiss-c...
@ruler501, the libcbc examples were obsolete in 2008 when I published my first Create paper, and were made further obsolete in 2009. Almost every feature listed in my 2 papers is not doable using the libcbc examples; I would not recommend using the libcbc script code.
@Andrew, if you run into any problems with the stuff in my papers, I'm happy to help. Just post the problem on the forum and I'll look at it.
-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
http://www.irobot.com/filelibrary/create/create%20manual_final.pdf
http://www.irobot.com/filelibrary/create/Create%20Open%20Interface_v2.pdf
@Jeremy Rand Even the ones in kiss-create-2011.h? I assumed since it was labeled 2011 it would be reasonably up to date. Sorry if I was wrong
I'm pretty sure that the script functionality in KIPR's current libs was copied almost verbatim from David Miller's Create lib from 2007. It looks to me like David was trying to use it for more accurate dead-reckoning (not autonomous operation), but it really isn't particularly suitable even for that. KIPR has never officially supported scripting, so they have no reason to update the lib; my guess is they just don't see a point to removing the code that's already in the lib, despite its obsolescence.
-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 everybody for your help!
-amehta (Andrew Mehta)
So do I use something other than KISS IDE?
-amehta (Andrew Mehta)
You can use anything for programming just for compiling you should probably use KISS IDE and KISS IDE also allows easier transfers to the robot(unless you set up wifi)
My team this year used a program called notepad++ and put it onto the cbc through a flash drive
KISS-IDE should be fine. Flash drive and wifi should work too, but flash drive makes error checking a pain, and wifi requires some haxx (not that this is a bad thing; I use wifi fairly often). The only issue with KISS-IDE is that I suspect you'll need to do some #ifdef __arm__ magic, due to the simulator libs not treating scripting commands the same as libcbc treats them. Wifi won't have this issue (unless you compile for the simulator target), and a flash drive won't have this issue either.
I plan to release a new Create script library at GCER this year, which should make it quite a bit easier to use scripts in KISS-IDE.
-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