Exemple #1
0
        private void switchBoutonSimu_ValueChanged(object sender, bool value)
        {
            Robots.EnableSimulation(value);
            panelGrosRobot.Init();

            if (value)
            {
                AllDevices.InitSimu();
            }
            else
            {
                AllDevices.Init();
            }

            AllDevices.SetRobotPosition(Robots.MainRobot.Position);
        }
Exemple #2
0
 private static void MainRobot_PositionChanged(Geometry.Position position)
 {
     AllDevices.SetRobotPosition(position);
 }