Lesson: Exercise: Using a Gyro

Overview: 
Explore using the Gyroscope Sensor device to gather information about the robot's environment.
Objectives: 

Understand how to use the Gyroscope Sensor to gather information about the robot's environment.

Content: 

Modern Robotics has an gyroscopic sensor designed for use with the Tetrix control system. This sensor can return heading and rate of rotation information. The FTC SDK has a sample program you can use to experiment with the Gyro sensor. In AS, open the path FtcRobotController/java/[first package]/external.samples/SensorMRGyro. You can enable this program and work with it but any changes you make will be overwritten at the next update of the SDK. You can copy the class to the teamcode area so any changes you make will be retained.

Here is a detailed discussion of the Gyro sensor on the Modern Robotics website. There are links on the page to programming information. This is recommended viewing.

Lesson navigation: