New to C't Bot
New to C't Bot
Hello,
I just got a project as an international student in HFT-Leipzig where I have to get 7 c't bots to work together but I am having trouble starting! I have looked on the c't website but I cannot find exactly what I need to have because I am trying to do it all through google translate. I have to program the bots in c and I am not sure how to compile the code and get it onto the bot. Can anyone help? I would really appreciate it!
I just got a project as an international student in HFT-Leipzig where I have to get 7 c't bots to work together but I am having trouble starting! I have looked on the c't website but I cannot find exactly what I need to have because I am trying to do it all through google translate. I have to program the bots in c and I am not sure how to compile the code and get it onto the bot. Can anyone help? I would really appreciate it!
Re: New to C't Bot
hi,
oh yes, all documentation is available only in german.
to compile the code for the bot, you need to install the compiler from "Atmel AVR 8-bit and 32-bit Toolchain": http://www.atmel.com/tools/STUDIOARCHIVE.aspx
to use an IDE you should install Eclipse for C/C++ http://www.eclipse.org/downloads/
to get the code from the repository, install the "Subversive SVN Team Provider" plugin in eclipse
them import the bot-code in eclipse from SVN from https://www.heise.de:444/svn/ctbot/stable/ct-Bot/
set the active build configuration to "Debug-MCU"
to flash the code (ct-bot.hex) to get it onto the bot, you will need a programmer, which one do you have?
cheers,
marco
oh yes, all documentation is available only in german.
to compile the code for the bot, you need to install the compiler from "Atmel AVR 8-bit and 32-bit Toolchain": http://www.atmel.com/tools/STUDIOARCHIVE.aspx
to use an IDE you should install Eclipse for C/C++ http://www.eclipse.org/downloads/
to get the code from the repository, install the "Subversive SVN Team Provider" plugin in eclipse
them import the bot-code in eclipse from SVN from https://www.heise.de:444/svn/ctbot/stable/ct-Bot/
set the active build configuration to "Debug-MCU"
to flash the code (ct-bot.hex) to get it onto the bot, you will need a programmer, which one do you have?
cheers,
marco
Re: New to C't Bot
Thank you very much, I am using the avrisp mk 2 programmer.
Kevin
Kevin
-
- Friends of Johnny-5
- Beiträge: 293
- Registriert: 26 Jan 2006, 22:43
- Wohnort: Großkrotzenburg (Main-Kinzig-Kreis)
Re: New to C't Bot
... I was thinking about replacing the original controller by an Arduino or bigger/faster board with simpler IDE ... and rewrite the firmware for simplicity and/or remote controlling from a PC via bluetooth or 2.44GHz "stamp"-modules I have as remains from an older project 
Viktor

Viktor
Ciao, Viktor --- Aufruf zum Projekt "Müll-freie Meere" - https://reprap.org/forum/list.php?426
Re: New to C't Bot
I think it's the best to use the program "avrdude" with that programmer. you can find many documentation in english on the internet, there is nothing special about programming the controller on the ct-bot.
But I don't know how to use it through virtualbox, never done that. I guess it's easier to use it natively, avrdude is available for all operating systems.
marco
But I don't know how to use it through virtualbox, never done that. I guess it's easier to use it natively, avrdude is available for all operating systems.
marco
Re: New to C't Bot
I got it working through virtualbox
there were a few problems with permissions and stuff in Ubuntu but its working now, thanks for your help!!
Kevin

Kevin