Quasics2016Code/SimpleRobot/src/Commands/DriveForDistance.cpp
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR
BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR
BEGIN AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = CONSTRUCTOR
DriveForDistance::DriveForDistance(double powerPercent, double distanceMeters) :
    Command() {
    m_powerPercent = powerPercent;
    m_distanceMeters = distanceMeters;
    Requires(Robot::driveSystem.get());
}
DriveForDistance :: DriveForDistance ( double powerPercent , double distanceMeters ) : Command ( ) { m_powerPercent = powerPercent ; m_distanceMeters = distanceMeters ; Requires ( Robot :: driveSystem . get ( ) ) ; }
BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR
BEGIN AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = CONSTRUCTOR
// Use requires() here to declare subsystem dependencies // eg. requires(chassis); // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES