Examples of GRTDriveTrain


Examples of com.grt192.actuator.GRTDriveTrain

        addSensor("Gyro", gy);
        addSensor("Accelerometer", ax);
    }

    public GRTRobotBase(int DTports[], int accelerometerPort, int gyroPort) {
        addActuator("DriveTrain", new GRTDriveTrain(DTports[0],DTports[1]));
        getActuator("DriveTrain").start();

        addSensor("Accelerometer",
                new GRTAccelerometer(accelerometerPort, 50, "baseAccel"));
        getSensor("Accelerometer").start();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.