Society of Robots - Robot Forum

Software => Software => Topic started by: ARUZ on April 23, 2009, 01:31:29 PM

Title: Which language should i....
Post by: ARUZ on April 23, 2009, 01:31:29 PM
Hi all,
I m doing Software Engineering and I m just starting robotics as a hobby... so plz tell me which language should i learn before switching to real robotics??

Thanx
ARUZ
Title: Re: Which language should i....
Post by: Asellith on April 23, 2009, 01:41:25 PM
Real robotics? Assembler! Practical Robotics. C/C++ I'd skip learning Basic. Not really worth the time for a future Software Engineer. Python can be useful as well but only in special situations.
Title: Re: Which language should i....
Post by: chelmi on April 23, 2009, 01:52:04 PM
Real robotics? Assembler! Practical Robotics. C/C++ I'd skip learning Basic. Not really worth the time for a future Software Engineer. Python can be useful as well but only in special situations.

Real robotics: C and if you *really* need it, assembler. IMHO, you shouldn't waste your time with assembler unless you are stuck in a very tight loop and you are sure that your compiler is not doing a good job.

Chelmi.
Title: Re: Which language should i....
Post by: ARUZ on April 23, 2009, 02:01:07 PM
I mean real robotics by designing and constructing them really in a good manner.
So you think i must learn C/C++ if yes i have a good know how with em.... With basic again yes i have a good practice with it too. So please tell me the exact language C/C++, Basic or Assembly?

Thank you
Title: Re: Which language should i....
Post by: chelmi on April 23, 2009, 02:31:16 PM
I mean real robotics by designing and constructing them really in a good manner.
So you think i must learn C/C++ if yes i have a good know how with em.... With basic again yes i have a good practice with it too. So please tell me the exact language C/C++, Basic or Assembly?

Thank you

I'd would go with C. Since you already know about C, you can forget about Basic. And assembly, well can always learn it later when needed. Anyway there is not one assembly language, it is very specific to the MCU you choose.
Title: Re: Which language should i....
Post by: ARUZ on April 24, 2009, 11:59:45 AM
I ll be thank full if somebody tell me some site from where i can download source codes for microcontrollers.. :)
Title: Re: Which language should i....
Post by: Asellith on April 24, 2009, 12:12:53 PM
Check out the $50 robot tutorial it comes with source code. Most of the tutorials on here have some form of source code with them
Title: Re: Which language should i....
Post by: superchiku on April 24, 2009, 01:13:11 PM
...learn c..avr c is easy to learn...there are many source codes available in every rrobot tutorial...they genrally post their codes too with their robots....u can get them from there...
Title: Re: Which language should i....
Post by: paulstreats on April 24, 2009, 05:15:29 PM
I think that assembly is too difficult to use for complex programs but I also believe that programmers should know it anyway. It gives you the level of understanding of what programming commands are doing within the electronics hardware and why things happen when you give a command.(c just compiles into assembler so if you program in c its good to know what the language i doing and why and how)

C is good for just microcontrollers.

If you are using a more advanced system with a fully fledged computer on board then I can see advantages to higher level programming like c++ or even Java
Title: Re: Which language should i....
Post by: superchiku on April 25, 2009, 12:29:41 AM
java c++ yes for computer interface along with vb ...its gr8 for developing gui..
Title: Re: Which language should i....
Post by: ARUZ on April 25, 2009, 03:22:53 PM
I m asking only for micro controllers...
Is there any different libraries for i/o in micro controllers?

Sorry if i m asking silly questions but i want to know these bits of information...
Title: Re: Which language should i....
Post by: offy on April 25, 2009, 03:55:37 PM
Like above C and C++ is the best, I recommend C for robotics.

MCU's don't use that many languages, but almost all of them will let you use C.
Title: Re: Which language should i....
Post by: superchiku on April 26, 2009, 04:35:24 AM
embedded programming is normally done with C as it is the best choice until now...so u got the learn abt avr c...
Title: Re: Which language should i....
Post by: mockan on May 10, 2009, 05:38:07 PM
Hi all,
I m doing Software Engineering and I m just starting robotics as a hobby... so plz tell me which language should i learn before switching to real robotics??

Thanx
ARUZ

You might want to learn about PowerBasic before you decide on C or C++.
http://www.powerbasic.com/products/ (http://www.powerbasic.com/products/)
Programmers who have not used it will say do not use. I have yet to meet a programmer who has used it who
goes back to what ever they were using before, unless required for their jobs.