private void TransfertCommand_ExecuteMethode() { terminalText.Append("===DEBUT TRANSFERT===\n"); OnPropertyChanged(nameof(TerminalText)); t.ForwardAtDistanceToSpeed(0, 500); t.Stop(); t.Fin(); }
private static void moveForwardBackward(ThymioV2 thy) { thy.ForwardAtDistanceToSpeed(0, 500); thy.Stop(); //thy.Evenement(); thy.BackwardAtDistanceToSpeed(0, 500); thy.Stop(); thy.Fin(); }
private static void turn(ThymioV2 thy) { thy.TurnLeft(90); thy.TurnRight(90); thy.Stop(); thy.TurnLeft(180); thy.TurnRight(180); thy.Stop(); thy.Stop(); thy.Fin(); }
public IActionResult AjouterInstruction() { list.Add("instruction 2"); list.Add("instruction 2"); thymio.ForwardAtDistanceToSpeed(0, 50); thymio.Fin(); //return RedirectToPage("Index1"); return(View("Index1", list)); }
private static void prog2(ThymioV2 thy) { thy.TurnLeft(90); thy.ForwardAtDistanceToSpeed(0, 400); thy.TurnRight(90); thy.ForwardAtDistanceToSpeed(0, 400); thy.Stop(); thy.TurnLeft(90); thy.ForwardAtDistanceToSpeed(0, 400); thy.TurnRight(90); thy.ForwardAtDistanceToSpeed(0, 400); thy.Stop(); thy.Fin(); }
private void TransfertCommand_ExecuteMethode() { thymio.Fin(); }