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); }
private static void MainRobot_PositionChanged(Geometry.Position position) { AllDevices.SetRobotPosition(position); }