Changes between Version 2 and Version 3 of ControlSystems/SoftwareTeam/Training/GettingStarted/Autonomous/CAN


Ignore:
Timestamp:
Nov 8, 2019, 11:42:24 PM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/Autonomous/CAN

    v2 v3  
    2323    leftMotor.configSelectedFeedbackSensor(FeedbackDevice.QuadEncoder);
    2424    rightMotor.configSelectedFeedbackSensor(FeedbackDevice.QuadEncoder);
     25    // Reset encoder counts to 0
     26    leftMotor.setSelectedSensorPosition(0);
     27    rightMotor.setSelectedSensorPosition(0);
    2528  }}}
    2629