mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -37,15 +37,8 @@ const int32_t RobotDrive::kMaxNumberOfMotors;
|
||||
* robot drive.
|
||||
*/
|
||||
void RobotDrive::InitRobotDrive() {
|
||||
m_frontLeftMotor = nullptr;
|
||||
m_frontRightMotor = nullptr;
|
||||
m_rearRightMotor = nullptr;
|
||||
m_rearLeftMotor = nullptr;
|
||||
m_sensitivity = 0.5;
|
||||
m_maxOutput = 1.0;
|
||||
m_safetyHelper = new MotorSafetyHelper(this);
|
||||
m_safetyHelper->SetSafetyEnabled(true);
|
||||
m_syncGroup = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user