A list of the seven programming languages of the h

  • Detail

A list of seven programming languages for industrial robots. How many do you know

1. Hardware description language (HDLs)

hardware description language is generally used to describe the programming mode of electrical. These languages are quite familiar to some roboticists because they are used to FPGAs (fieldprogrammablegatearrays) programming. FPGAs allows you to develop electronic hardware without actually producing a silicon chip. For some development, it is a faster and easier choice. If you haven't developed electronic prototypes, you may never use HDLs. Even so, it is still necessary to understand this programming language, because they are very different from other programming languages. One key point: all operations of HDLs are concurrent, not sequential operations based on processor programming language

2. Assembly

assembly allows you to program on 0 and 1 digits. Basically, this is the lowest level programming language. Just recently, the lowest level of Electronics needs to be programmed by assembly. With the normal protection of Arduino and other micro controllers, such as ring stiffness testing machine, now you can use c/c++ to program conveniently at the bottom. This means that assembly may become more unnecessary for most roboticists

3, matlab

matlab and its related open source resources, such as octave, are particularly popular with some robot engineers. It is used to analyze data and develop control systems. There is also a very popular robot toolbox matlab. I know some experts who can develop the whole robot system using MATLAB alone. If you want to analyze data, generate advanced images or implement control systems, you may want to learn matlab

4、c#/. Net

C # is a special programming language provided by Microsoft. I put c#/Net is put here mainly because Microsoft Robotics Developer Studio, the main development language of which is c#. If you are going to use this system, you may have to use c#

5. Java

java hides the underlying storage function from programmers, which makes it easier to write than some languages (such as C language), but it also means that you will understand the running logic of the underlying code less. If you have a background in computer science and switch to Robotics (as many people do, especially in Research), you may have studied Java. Like c# and MATLAB, Java is an explanatory language, which means that it will not be compiled into machine code. Instead, the Java virtual machine interprets instructions at run time. Using java theoretically allows you to run the same code on different machines, thanks to the Java virtual machine. In practice, this is not always feasible, sometimes resulting in slow code. But Java is very popular in some robotics, so you may need it because you only know the maintenance

6. Python

in recent years, people who learn Python have a huge resurgence, especially in the field of robots. One reason may be that python (and c++) are the two main programming languages in ROS. Unlike Java, python focuses on ease of use. Python doesn't need a lot of time to do routine things, such as defining and casting variable types. These are very common things in programming. In addition, python has a large number of free libraries, which means that you don't have to "reinvent the wheel" when you need to implement some basic functions. And because Python allows simple binding with c/c++ code. This means that the performance of the heavy part of the code can be implanted into these languages to avoid performance loss. As more and more electronic products begin to support "out of the box" python (along with raspberrypi), we may see more Python in robots. Note: the raspberry PI Foundation: a small charity organization in the UK, its purpose is to promote technology, not to make profits by selling technology

7, c/c++

finally, the robot programming language ranked first! Many people think that C and c++ are a good starting point for new roboticists. Why? Because many hardware libraries use these two languages. These two languages allow interaction with low-level hardware and real-time performance. They are very mature programming languages. Nowadays, you may use c++ more than C, because the former has more functions. C++ is basically an extension of C. First of all, learning a little C will be very useful, especially when you find that a hardware library is written in C. C/c++ is not as easy to use as Python or Ma touch many aspects of TLAB, such as mechanical, hydraulic, electrical, computer software and so on. Similarly, it will take a lot of time and more lines of code to implement the same function with C. However, since the robot relies heavily on real-time performance to exhaust the air and then turn back the screw plug: start the oil pump and lift the piston repeatedly to exhaust the air in the oil cylinder and oil pipe, C and c++ are the programming languages closest to the "standard language" of our robot experts

special statement: This article is uploaded and published by the author of "Yihao" on the easy we media platform, and only represents the author's point of view. Yi only provides information publishing platform

Copyright © 2011 JIN SHI