Construction of development environment
1 Use environment
The mechArm 270 for M5 version is developed and used based on PC . There is no built-in system inside the robotic arm, so the combination of the robotic arm and the PC is required during use, so please prepare a PC before use.
2 Development Environment
Because the mechArm 270 for M5 version has no built-in development environment, you need to use a PC to install the development environment for the robotic arm.
The following are the development environments supported by mechArm 270 for M5 and the installation and usage tutorials:
- 2.1 Development and use based on Blockly Both myBlockly and UIFlow embody the idea of drag-and-drop programming. Both are graphical programming software and visualization tools. Users can build code logic by dragging and dropping modules. The process is very similar to building blocks. After users install myblockly as well as install UIFlow ，can be viewed directly myblockly use case and UIFlow use case。
2.2 Developed and used based on RoboFlow The RoboFlow operating system is the operating system of the elephant collaborative robot, providing a human-machine interface (its functions include coordinate control, angle control, io control, trajectory recording, gripper control, etc.).Since the RoboFlow operating system runs in the teach pendant, the user can use the teach pendant as a carrier to manually operate the robot, program and other operations.After users Install RoboFlow 后，可直接查看 Simple use case。
2.3 Developed and used based on Python Our products are more friendly to python, and the development of python API library is also increasingly perfect. Through python, the joint angle, coordinates, gripper and other aspects of the robot can be controlled, and there are many choices.After users install the python environment ，can be viewed directly use case。
2.4 Developed and used based on C++ C++ is the inheritance of C language. It can carry out procedural programming of C language, object-based programming characterized by abstract data types, and object-oriented programming characterized by inheritance and polymorphism. design. Using C++ language, you can freely develop (coordinate control, angle control, io control, gripper control, etc.) through the C++ dynamic library developed by our company, and control some of the robots that our company has developed.After users install C++ environment ，can be viewed directly use case。
2.5 Developed and used based on C# C# is an object-oriented programming language derived from C and C++ released by Microsoft, a high-level programming language running on .NET Framework and .NET Core (completely open source, cross-platform). Using the c# language, you can freely develop (coordinate control, angle control, io control, gripper control, etc.) through the c# dynamic library provided by our company, and control some of the robots that our company has developed.After users install C# environment ，can be viewed directly use case。
2.6 Developed and used based on Arduino
Arduino is an easy-to-use, easy-to-use, open-source electronic prototyping platform that includes hardware (various Arduino-compliant development boards) and software (Arduino IDE and associated development kits). The hardware part (or development board) consists of a microcontroller (MCU), flash memory (Flash), and a set of general-purpose input/output interfaces (GPIO), etc. You can understand it as a microcomputer motherboard. The software part is mainly composed of Arduino IDE on the PC side, related board support packages (BSP) and rich third-party function libraries. Users can easily download the BSP related to the development board you hold and the required function library through the Arduino IDE to write your program.After users install Arduino environment ，can be viewed directly Arduino is easy to use。
2.8 Developed and used based on ROS ROS is open source and a post-operating system, or secondary operating system, for robot control. Through ROS, we can realize the simulation control of the manipulator in the virtual environment. We will visualize the robotic arm through the rviz platform, and operate our robotic arm in a variety of ways; plan and execute the robotic arm's action path through the moveit platform to achieve the effect of freely controlling the robotic arm.After users Install the ROS development environment ，can be viewed directly use case 和 use of moveit。
3 Firmware update
mechArm 270 for M5 and the update of Atom firmware need to be updated using myStudio .
Installation and usage tutorial of myStudio :