new void Start()
    {
        base.Start();

        GyroSettings gyroSettings = GyroSettingsParser.parseSettings();

        this.LEFT_RIGHT_SCALER = gyroSettings.RollSensitivity;

        base.InitSerial(gyroSettings);

        this._servoController = new ServoControllerClient();
        this.SetInverted(false);
        this._servoController.EventEnable();
    }
示例#2
0
 // Use this for initialization
 void Start()
 {
     servoClient = new ServoControllerClient();
     servoClient.EventSetServoPosition(position);
 }
示例#3
0
    new void Start()
    {
        base.Start();

        GyroSettings gyroSettings = GyroSettingsParser.parseSettings();
        this.LEFT_RIGHT_SCALER = gyroSettings.RollSensitivity;

        base.InitSerial(gyroSettings);

        this._servoController = new ServoControllerClient();
        this.SetInverted(false);
        this._servoController.EventEnable();
    }