Package lejos.robotics

Examples of lejos.robotics.RegulatedMotor


        PilotProps.KEY_WHEELDIAMETER, "2.2"));
   
    float trackWidth = Float.parseFloat(pilotProperties.getProperty(
        PilotProps.KEY_TRACKWIDTH, "6.6875"));
   
    RegulatedMotor leftMotor = PilotProps.getMotor(pilotProperties
        .getProperty(PilotProps.KEY_LEFTMOTOR, "A"));
   
    RegulatedMotor rightMotor = PilotProps.getMotor(pilotProperties
        .getProperty(PilotProps.KEY_RIGHTMOTOR, "C"));

    final RotateMoveController pilot = new DifferentialPilot(wheelDiameter,
        trackWidth, leftMotor, rightMotor, false);
   
View Full Code Here

TOP

Related Classes of lejos.robotics.RegulatedMotor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.