DexterInd / GoPiGo3

The GoPiGo3 is a Raspberry Pi Robot!
https://gopigo.io
Other
98 stars 85 forks source link

Support motors with 16 ticks #293

Closed CleoQc closed 3 years ago

CleoQc commented 3 years ago

Add number of ticks to the robot constants file. default file is {"wheel-diameter": 66.5, "wheel-base-width": 117.0, "ticks": 6, "motor_gear_ratio": 120}

Add a tool on the desktop for calibration. The first attempt to drive 2m 6' will ask the user if the robot is wildly out of range. Click Retry will swap from 6 ticks to 16 ticks and a second attempt to drive the set distance. image

Remove calibration from the control panel tool. image

slowrunner commented 3 years ago

Great solution - eager to give it a try (on GoPiGo OS)

CleoQc commented 3 years ago

You may notice that the robot_constants methods were moved from easygopigo3 to gopigo3 so they are accessible to all.