mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Add Reset of Gyro Yaw On Init
Co-Authored-By: aarav18 <aarav18@users.noreply.github.com>
This commit is contained in:
@@ -43,6 +43,7 @@ public class Drive extends SubsystemBase {
|
||||
m_leftBackMotor.configFactoryDefault();
|
||||
m_rightBackMotor.configFactoryDefault();
|
||||
m_pigeon.configFactoryDefault();
|
||||
resetGyroYaw();
|
||||
|
||||
/* set back motors as followers */
|
||||
m_leftBackMotor.follow(m_leftFrontMotor);
|
||||
|
||||
Reference in New Issue
Block a user