New to C't Bot

Die Programmierung des c't-Bot
Antworten
rowerman1

New to C't Bot

Beitrag von rowerman1 » 26 Feb 2015, 12:30

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!

foobar

Re: New to C't Bot

Beitrag von foobar » 26 Feb 2015, 21:13

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

rowerman1

Re: New to C't Bot

Beitrag von rowerman1 » 02 Mär 2015, 10:49

Thank you very much, I am using the avrisp mk 2 programmer.

Kevin

VDX
Friends of Johnny-5
Friends of Johnny-5
Beiträge: 299
Registriert: 26 Jan 2006, 22:43
Wohnort: Großkrotzenburg (Main-Kinzig-Kreis)

Re: New to C't Bot

Beitrag von VDX » 02 Mär 2015, 23:58

... 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 :wink:

Viktor
Ciao, Viktor --- Aufruf zum Projekt "Müll-freie Meere" - https://reprap.org/forum/list.php?426

rowerman1

Re: New to C't Bot

Beitrag von rowerman1 » 03 Mär 2015, 15:50

Do you know how to use that programmer through virtualbox?

foobar

Re: New to C't Bot

Beitrag von foobar » 04 Mär 2015, 22:12

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

rowerman1

Re: New to C't Bot

Beitrag von rowerman1 » 06 Mär 2015, 14:22

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

Antworten