Examples of DoubleActuator


Examples of ca.teamdave.caruso.actuator.DoubleActuator

    ConfigTable config;

    public void robotInit(Machine machine) throws CarusoException {
        this.robotPosition = new DoubleSensor(machine.getSensor(LrNames.POSITION_SENSOR));
        this.robotOutput = new DoubleActuator(machine.getActuator(LrNames.OUTPUT_FORCE));

        this.targetPos = new DoubleActuator(machine.getActuator(LrNames.DESIRED_POSITION));
        this.targetSpeed = new DoubleActuator(machine.getActuator(LrNames.DESIRED_SPEED));
        this.targetAccel = new DoubleActuator(machine.getActuator(LrNames.DESIRED_ACCEL));

        this.config = machine.getConfig();

        this.controller = new PredictiveLinearController(
                config.getDouble(LrNames.PID_P),
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.