Esempio n. 1
0
    private void Update()
    {
        /*    Refresh the datas of the robot    */
        datas.RefreshDatas(Controller.GetMotorsDatas(), Lidar.GetMeasures(), Controller.GetSensorValues());

        if (Server.isActive)
        {
            _targetPositions = TargetPositions.ReadValues(Server.targetPositions);
        }

        status = datas.ToJson();
    }