Best language for robotics 🤖? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

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!?

17th Jun 2018, 11:10 PM
MECHANICAL-CELL
MECHANICAL-CELL - avatar
35 Answers
+ 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.
18th Jun 2018, 12:19 AM
Ahri Fox
Ahri Fox - avatar
+ 9
https://www.sololearn.com/discuss/1101645/?ref=app
18th Jun 2018, 2:56 AM
Hatsy Rei
Hatsy Rei - avatar
+ 9
Remember that python is not the fastest language for realtime applications. With 1.2GHz processor java could fit better in some cases
18th Jun 2018, 9:49 AM
Toni Isotalo
Toni Isotalo - avatar
+ 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"
18th Jun 2018, 11:28 PM
Jingga Sona
Jingga Sona - avatar
+ 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.
19th Jun 2018, 5:06 AM
Indranil
Indranil - avatar
+ 6
Simple, for Robotics, C is effective and efficient, for Machine learning, Python's gat the game
18th Jun 2018, 5:42 PM
Dlite
Dlite - avatar
+ 6
Python it's used by NASA Google and others
19th Jun 2018, 3:49 AM
person
 person - avatar
+ 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.
19th Jun 2018, 5:31 AM
Zoetic_Zeel
Zoetic_Zeel - avatar
+ 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?
19th Jun 2018, 5:47 AM
Teramir
Teramir - avatar
+ 5
Machine Learning is AI
19th Jun 2018, 2:02 PM
Dlite
Dlite - avatar
+ 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
19th Jun 2018, 4:29 PM
Piyush Yadav
Piyush Yadav - avatar
+ 4
Hatsy Rei why do you always post links, without ever answering the questions? Just an observation
18th Jun 2018, 2:12 PM
Dlite
Dlite - avatar
+ 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.
19th Jun 2018, 9:01 AM
Dawid
Dawid - avatar
+ 4
And that should be python
19th Jun 2018, 1:54 PM
Oladiran Wale
Oladiran Wale - avatar
+ 4
Yep...I am learning that...
19th Jun 2018, 1:55 PM
Maitree Thakar
+ 4
can anyone tell me what should I learn for AI I am learning python I am in 10 std..
19th Jun 2018, 1:57 PM
Maitree Thakar
+ 4
I have to learn machine learning for AI?
19th Jun 2018, 2:01 PM
Maitree Thakar
+ 4
You should really browse the Similarities between AI and Machine learning
19th Jun 2018, 2:03 PM
Dlite
Dlite - avatar
+ 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..
20th Jun 2018, 7:25 AM
Mahdi Khashan
Mahdi Khashan - avatar