Shop OBEX P1 Docs P2 Docs Learn Events
the awsome possibilities of programming a robot!!!!! — Parallax Forums

the awsome possibilities of programming a robot!!!!!

lobolobo Posts: 100
edited 2006-10-17 16:29 in Robotics
If i wanted to build an atonomous robot and program it with C++ would it be possible?

how do i pick the right processor?

or could i write the program in C++ and then somhow modify it into pbasic with some special program?

Thanks guys for yas awsome input!!

Comments

  • Kevin WoodKevin Wood Posts: 1,266
    edited 2006-10-17 00:47
    Well, you could program a robot with C++, but not with Parallax's processors. This is because there aren't any C++ compilers available.

    You could conceivably write a C++ program and port it to one of the languages supported by Parallax, but it wouldn't be automatic, and it probably wouldn't be worthwhile. C++ would generally allow you to use features that other language such as PBasic wouldn't or couldn't support, so it would probably be better to start with your target language and platform (processor).

    The best high level language that you could reasonably begin with and port to several platforms is pseudocode.
  • Mike GreenMike Green Posts: 23,101
    edited 2006-10-17 02:55
    If you want to use C++ for an autonomous robot, you'd probably have to use one of the embedded Linux systems. Heck, you could even program it in Fortran (since the GCC toolkit supports that). You could use a Stamp or Propeller as a co-processor.
  • simonlsimonl Posts: 866
    edited 2006-10-17 08:40
    Though it wouldn't be 'standalone autonomous', I think it's true that you could use C++ with the Microsoft Robotics Studio. Parallax have done some work with this and thier Basic Stamp, so I don't think it'll be long before you can hook-up a Propeller...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,

    Simon
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-10-17 16:29
    This thread is being moved from the·Propeller Forum to the·Robotics Forum.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.