Python program to turn until reaching an angle with LEGO MINDSTORMS Robot Inventor Gyro Sensor.
How to open?
Download- #acvosd
- 23 Mar 2022
Python program to turn until reaching an angle with LEGO MINDSTORMS Robot Inventor Gyro Sensor.
This Program is used in the following courses and lessons
The goal of this course is to take you through some of the most useful principles for building and using attachments to accomplish missions at FIRST LEGO League competitions. The whole course is based on a LEGO MINDSTORMS Robot Inventor and you need a single 51515 set and without additional parts (you will need a second color sensor for the lessons for using two color sensors, but feel free to skip them if you don't have it). For every mission there is a Scratch and Python program attachment. The course consists of 25 lessons suitable for beginner and advanced students. Every lessons consists of a video tutorial demonstrating the principle and how the mission could be accomplished along with building instructions for the robot, the attachment and programs for controlling the robot.
In this video tutorial we demonstrate the behavior of a LEGO Mindstorms Robot Inventor robot when we use the Motion sensor. The Motion sensor was also referred to as Gyro sensor in previous versions of the LEGO Mindstorms Robot. We do not enter into the details of the programming and you can download the programs from the course lesson, but we make a demonstration of how the robot turns to about 95 degrees when we try to turn it to 90 degrees, we explain why and we suggest a way to improve the behavior of the robot.