Gyro Drive on Spike Prime�using Python
Installation and�Robot Setup
Pre-Install Requirements
Is Python activated?
Installation
Open Program
Initial Setup
Now that you are in the code, you need to initiate the gyro_drive_settings class with parameters to fit your robot.
Initial Setup
You need the additional settings after the wheel diameter.
Testing Driving Accuracy
Testing Driving And Spin Accuracy
gyro_drive test plot
Here is a plot of a test drive.
The circles are plots over time of the readings. In 1.55 sec., there were only 9 plots. We want many more passes for accuracy. This slows it down but useful to see it.
Gyro Drive on Spike Prime�using Python
Good Luck!!!