Best language for robotics 🤖? | SoloLearn: Learn to code for FREE!

+16

Best language for robotics 🤖?

So i have been into basic robotics for sometime now but i have seen many languages used to program them like raspberrypi robots are using python arduino c ...ect, to some one who really what to get in to advanced robotics,AI,image processing and 3D mapping & navigation.... # first is it possible to do all that with one language? # if possible then what is the language i should focus on!? ^_^ now before you write anything..i know already some of the advanced robots use many languages at once to make them work..but what a bout today and what is the best option considering the future!?

6/17/2018 11:10:19 PM

MECHANICAL-CELL

35 Answers

New Answer

+16

python or C namely rasberry pi (python) vs C (arduino) which are micro controllers that can determine the logic of the bot python may be better for everything you listed like image processing.

+10

These are interesting articles https://blog.robotiq.com/what-is-the-best-programming-language-for-robotics https://www.allhomerobotics.com/the-best-programming-languages-for-robotics-to-learn/

+9

https://www.sololearn.com/discuss/1101645/?ref=app

+9

Remember that python is not the fastest language for realtime applications. With 1.2GHz processor java could fit better in some cases

+8

if i am you... i'll choose python, because its a high-leveled, its mean the code is easy to remember, its more to "Human Language"

+8

For robotics python is good, but in case of machine learning you'd like to use matlab or octave, which have much more in build helpful function. I generally use octave.

+6

Simple, for Robotics, C is effective and efficient, for Machine learning, Python's gat the game

+6

Python it's used by NASA Google and others

+6

Let me mention one thing here. Whenever you choose Python and have a thought that it's slower than other languages, remember that it matters when you are designing a kernel or an OS or a server, where a line of code has to run millions of time so we can't afford delays of microseconds there.. but when it comes to real life applications like robotics and all, Python perfectly qualifies for real-time applications and doesn't slow you down upto considerable limit. P.S. - Python in raspberrypi is specially optimized for it to run faster.

+5

Is it possible that later in more advanced projects we use something fast like c++ for the core and python for the other parts? does that make any sense?

+5

Machine Learning is AI

+5

python is best for machine learning and i think it will be used in artificial intelligence too please give me a upvote😁it is the future of machine learning

+4

Hatsy Rei why do you always post links, without ever answering the questions? Just an observation

+4

I use "arduino C" - relative easy library shared and dedicate for arduino. I make rather easy project - IR, motors, LED, LED LCD, popular sensors... For my more important is available PIN: 14 digital and 6 analog (arduino uno rev 3 - "C") vs 40 GPIO (Rasberry PI 3 B - "python") but PIN in arduino can be increased with PCF8574.

+4

And that should be python

+4

Yep...I am learning that...

+4

can anyone tell me what should I learn for AI I am learning python I am in 10 std..

+4

I have to learn machine learning for AI?

+4

You should really browse the Similarities between AI and Machine learning

+3

arduino (similar to C) + some python if its hobby level of robotics (undergraduate level), C, C++ and python(AI,..) for industry and graduate university level of study as their are the core language of ROS which is the most used framework. Edit: Path to become an Robotic Engineer: 1. master trending language in the field (currently python in ML and Deep learning, C++ for performance programming like computer vision, C/assembly for hardware side if you wish) 2. master Robotic Operating System (ROS) will be updated..