Now, with the development of science and technology, artificial intelligence has penetrated into our lives, and the fields it involves are also constantly expanding. If you want to understand Mind programming, you first need to understand that Mind programming is an important technology in artificial intelligence. It allows people to communicate directly with machines and allows machines to understand human language, thereby realizing human-computer interaction and becoming more intelligent. Based on Mind Programming can produce a variety of intelligent robots. Next, PHP editor Xinyi will introduce Mind programming to you. I hope that through this article, everyone can master the method of Mind programming to make walking robots.
Open Mind, click [Project]-[New Project] with the left mouse button, create a new elf, and change the elf name to [Walking Robot].
Click [Event] and drag the [Little Green Flag] to the programming interface.
Click [Movement] and splice [Turn Right (15) Degrees] below the [Little Green Flag].
Click [Operator], drag [Get a random number between (1) and (10)] to the programming interface, and then insert it into [Turn right (15) degrees] 】middle.
Click [Movement] and splice [Set the rotation method to left and right flip] below [Turn right and take a random number of degrees between (1) and (10)].
Click [Control] and splice [Loop Execution] below [Set rotation mode to left and right flip].
Click [Movement], splice [Move (10) steps] inside [Loop Execution], and then splice [Bounce when touching the edge] to [Move (10) steps] 】below.
Click the little green flag to run.
The above is the detailed content of How to use Mind+ programming to make a walking robot. How to use Mind+ programming to make a walking robot.. For more information, please follow other related articles on the PHP Chinese website!