Robotics day 13-the joystick
- sreeramchittayil
- Dec 7, 2022
- 1 min read
This was a very exciting lesson because it involved the use of a joystick controller. At first, we controlled the sprite, which included basic knowledge from the previous lesson. using the motion blocks and "if" statements to connect the sprite and the joystick. Variables are also a very important part of the project and use the statements X, Y, and SW. Each has its own value, and this is used to determine the operation used in the "if" statement. After the sprite is completed, we move on to the robot. This was very easy because all we needed to do was change the motion block to the DC motor blocks. This code helped the robot follow the commands of the joystick in a smooth manner.



Comments