Examples of GRTAccelerometer


Examples of com.grt192.sensor.GRTAccelerometer

    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();

        addSensor("Gyro", new GRTGyro(gyroPort, 50, "baseGyro"));
        getSensor("Gyro").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.