Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Programming for robotics

Hi, i'm a student about to embark on a project in robotics, I aim to design and construct a simple robot (movement on wheels, simple senses, etc) I have the summer to complete all my reasearch and begin my preliminary designs.

My question is, what is the best programming language to use in the field of robotics?

I hear that both Pyhton and Lisp are good choices, i have experience in Pascal and VB, I have the entire summer and help from experienced teachers to learn this language, any help will be greatly appreciated.

Thanks,
Ashley

Comments

  • anthrax11anthrax11 Posts: 511Member
    Have you already decided what kind of hardware you will be using? I don't think there are facilities for coding in Python or Lisp for most embedded robotics systems, although they are good languages and worth learning.

    C is most often used with microcontrollers, because it has a good balance of speed and useability. Assembly language is used for additional speed and control where needed, but it's hardware-specific and tricky to learn.
  • ashleyjrashleyjr Posts: 4Member
    At present I have no specific hardware choices, would it be worthwhile to seek a system that supports a particular language or would you consider other factors (size, power requirements, etc) more important?

    Also, do you consider this type of project to warrant a minamlistic single board computer or would a custom array of individually programmed microcontrollers be more sensible?

    Cost is also a large issue as the project will be mainly self funded.

    regards
    Ashley
  • anthrax11anthrax11 Posts: 511Member
    For simple robots, [link=http://www.piclist.com/techref/atmel/avr/index.htm]PIC and Atmega[/link] microcontrollers are perfect. They cost very little and programming them is easy. There are a lot of variants with a different number of I/O pins and other features. There is sufficient processing power, so there's probably no need to use more than one chip.
  • ashleyjrashleyjr Posts: 4Member
    PIC microcontrollers make sense, I have had previous experience with them before and they are supported at my college which means commendeering some would further cut down on costs.

Sign In or Register to comment.