How do Robots are created? Do they use programming languages like java,python to create such Robots? Why Robotics is considered to be still a developing thing? If we have the ability to create or design a website using many programming languages, why cant we use the same programming languages to create the Robots ourselves. Of course, the materials to build the Robots should be designed by a mechanical Engineer, but what gives life to the Robots and makes it the way human beings speak is only based on the computer programming languages which are very beneficial.
2 Answers
This question is too broad, I flagged it accordingly but I'll still give you a short answer here since I find this question somehow cute and amusing at the same time.
If you mean physical robots and not cognitive services such as chatbots etc. then you should learn mechatronics, learn to program PLC's (i.E. Step7 & TIA-Portal), clue yourself up about microcontrollers, look into serial port communication, choose the right platform, construct middelware & backend and write an AI in near-real-time with Erlang for example. You would need a fairly large team and a budget that can't fit in a 32bit integer .
Good luck with that ;)

- 5,920
- 3
- 26
- 43
-
your answer is very intriguing . any how thanks . may i know your name? – karthik Dec 06 '18 at 03:54
-
-
@karthik If you want we can move disussions to chat later this day - now the monkey needs to earn some peanuts ;) – iLuvLogix Dec 06 '18 at 08:34
-
2Sry but if you would have read this article on [how to ask a good question](https://stackoverflow.com/help/how-to-ask) as well as [this article](https://stackoverflow.com/help/on-topic) on what questions are suitable on SO you would know that these sort of questions are too broad. SO is about asking specific questions about specific problems with a [mcve](https://stackoverflow.com/help/mcve) – iLuvLogix Dec 07 '18 at 09:08
Basically mechanical robots are two types:
- mobile robots - capable of moving from one place to another
- robot arms - capable of handling something with or without tools
Mobile robots can be eg. equipped with wheels or legs. Robotic arms can be eg. Delta robots or Scara robots. The domain is huge and there is no simple answer to your question.
The basic challenge in programming robots is to transform the real-life coordinates into machine parameters. This is achieved usually with geometrical transformation matrices/algorithms.
You can think of a robot like a combination of many servos. As you probably know: one servo drive is a closed-loop controlled motor. You can tell him to go to position x and he will go there with a very high precision. The control of the servos is usually achieved with a complex PID controller, where the software supervises position, current, torque, speed and maybe more parameters.
For a robotic arm to reach position (x,y,z,a,b,c), the software calculates the 6 motors' axis coordinates and drives them there with some kind of interpolation.
I only have used robots, so I can tell you that Industrial Robots can be programmed by a Basic-like language. Instructions are: go to position, wait, if/else statements, read DI, trigger gripper, etc.
I believe every robot producer uses other language to program the actual robot controller. It can be done in C, C++, Assambler, you name it. But I don't know the insights from the producers.
The reason why you can't use JavaScript or PHP to program robots like Web pages is that the algorithm is time-critical. If a webserver freezes, you reload the page and everything goes on. Facebook now needs over 5s to load on my PC. In automation/robotics this is not allowed. Just imagine an autonomous car would take a decision with 1s latency. Accident risk would be extreme high.
When I see PLC programs running with >20ms cycle time, I would shoot the programmer or the designer. But think about it, 20ms means it can take 50 decisions per sec. Imagine Facebook being loaded this fast. :) And servo drives and robot controllers have even lower cycle time. Sometimes in the order of microseconds.
So, yes, if you want to get involved in Robotics, you need to adapt a different mindset. Your everyday IT guy won't be able to help you. As @iLuvLogix suggested start with PLC and give it 2 years if you've never worked with them before :)

- 91
- 6