Which platform should I prefer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which platform should I prefer?

My main aim is to program robots to do specific tasks. I am an absolute beginner. Please recommend which platform should I go for. Google search didn't work out as expected. Thanks !

28th Jun 2018, 3:21 AM
Prashant Soni
Prashant Soni - avatar
4 Answers
+ 4
if you are really interested in programming robot like interfacing to hardware controllers design then you can opt for VHDL or HDL language along with hardware scripting verilog.You can have a FPGA kit and run your design to verify your output. One can even use C or C++ as they are hardware efficient language and have a high efficiency. But before one programs a roboy one should be clearly understand the control logic of the Robot's mechanism and a sufficient Knowledge in electronics so that the physical module doesn't create a hindrances or understanding it like the circuit of 9 infrared proximity sensors or the servo motor or the PIC microcontrollers/AVR or basic ICs like L-7408,IC 555 timer,741 opamp,etc. I have created a program of delay but since no h/w machine here to interface that's why I wrote a basic delay program.You can check that out.The program generates delay but it was one of my sub-code of automatic cutoff to thyristors of power circuit. https://code.sololearn.com/c1bsCR3o9XNU/
28th Jun 2018, 7:09 AM
D-Key
D-Key - avatar
+ 4
And delay program is very important for delaying the hardware interrupt for certain amount with respect to the clock frequency.So I modified the program and wrote a simple program which can be run in Solo learn app for demonstrating the purpose of delay. Delay is one of the important program in robotics for controlling the rotation to the servo motor,enabling interrupt to open address port and setting the or reversing the key map to vectors of interrupt,etc. So I would recommend you going through the C Language content in sololearn first, then followed by C++ and then Python.You can learn Python or Cpython but Cpython support all the libraries of C and you can create effective bindings or embedded Python in C. So you can implement Artificial Intelligence to your Robot's control using Python if it's intelligent type design or if it's Mechatronics then you can go for C or C++ and if you want it to be more hardware efficient then you can opt for any HDL or low level languages.Pascal,Lisp also provides.
28th Jun 2018, 7:33 AM
D-Key
D-Key - avatar
0
But python is high level language and I think it would make processing a bit slower than the others (C++ ,c#). I know the basics of c# and c++ from sololearn so should I aim for python then?
28th Jun 2018, 3:26 AM
Prashant Soni
Prashant Soni - avatar
0
I don't know robotics, but I've heard of people programming arduinos or raspberries pi using c++ for stuff related to robotics
28th Jun 2018, 3:29 AM
voidneo