Author Topic: c++  (Read 3339 times)

0 Members and 1 Guest are viewing this topic.

Offline ccdjr106Topic starter

  • Full Member
  • ***
  • Posts: 62
  • Helpful? 0
c++
« on: June 05, 2009, 06:17:08 AM »
for my summer homework i have to build a small robot that is capable of finding a object covered in tin foil
so i was wondering what languages i could program in and which one is easiest i know a little of c++  but i only took it for 1 week at ncc
and i was thinking about buying ether the axon or arduino and i was wondering which one would be better for what i have to do
i tried to build the 50 dollar robot but i messed up the pc board part so that is why i want to buy the axon or arduino

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: c++
« Reply #1 on: June 05, 2009, 06:25:47 AM »
check out the roboduino, it is like the arduino but is much more friendly to robotics.
as for identifying the victims you could use a reflective sensor as not too many things will
have the same reflective properties a foil (just keep it away from mirrors :D).
i don't know too much about code but im sure someone on this forum could help you out.

airman00 has a tutorial for a line following robot that finds tin foil "victims" that may be able to help you.
http://www.societyofrobots.com/member_tutorials/node/55
would your teachers mind if you followed a tutorial?
Howdy

Offline ccdjr106Topic starter

  • Full Member
  • ***
  • Posts: 62
  • Helpful? 0
Re: c++
« Reply #2 on: June 05, 2009, 06:32:08 AM »
i dont think so    but she is making the rest of the class do reading so i think its mostly for the coding.

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: c++
« Reply #3 on: June 05, 2009, 06:38:54 AM »
then i would recommend following airman00's tutorial if you are new in this field.
Howdy

Offline dellagd

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 731
  • Helpful? 5
  • Come to the dark side... We have cookies!
    • Exodus Rocketry
Re: c++
« Reply #4 on: June 06, 2009, 10:42:57 AM »
Innovation is a product of Failure, which leads to Success.

If I helped, +1 helpful pls

I Won!
3rd place! I'm taking $100

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: c++
« Reply #5 on: June 06, 2009, 06:37:30 PM »
Well of course the Roboduino and Axon are just smaller or bigger brothers - respectively.

Depends on how many I/O lines, program memory, RAM you need. The Axon has the most of all.

If you want to program in C++ or C then either is fine. You will find links throughout this site and tutorials for libraries for both.

Any code examples can easily be converted to any AVR board from the $50 robot board onwards.

Depends on your hardware budget
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline ccdjr106Topic starter

  • Full Member
  • ***
  • Posts: 62
  • Helpful? 0
Re: c++
« Reply #6 on: June 07, 2009, 07:39:14 PM »
by the way my teacher wants me to enter the robrfest in 2010

 

SMF spam blocked by CleanTalk