Represents the control functions of a Neobotix robot and the visual appearance on the computer screen.
Inheritance: IRobotControl
Esempio n. 1
0
 public MainWindow()
 {
     InitializeComponent();
     SetDockPanelStateEnabled(false);
     RobotControl = new RobotControl();
     RobotControl.SimulationStateChanged += RobotControl_SimulationStateChanged;
     ComboBoxRobotType.Items.Add(R.Localhost);
     ComboBoxRobotType.Items.Add(R.TestRobotIP_001);
     ComboBoxRobotType.SelectedIndex = 0;
     TextBoxRobotSpeed.Text = SliderRobotSpeed.Value.ToString();
     UpdateRobotControlPanel();
 }
Esempio n. 2
0
 public MainWindow()
 {
     InitializeComponent();
     SetDockPanelStateEnabled(false);
     RobotControl = new RobotControl();
     RobotControl.SimulationStateChanged += RobotControl_SimulationStateChanged;
     ComboBoxRobotType.Items.Add(R.Localhost);
     ComboBoxRobotType.Items.Add(R.TestRobotIP_001);
     ComboBoxRobotType.SelectedIndex = 0;
     SliderRobotSpeed.Value          = DefaultRobotSpeed;
     TextBoxRobotSpeed.Text          = SliderRobotSpeed.Value.ToString(CultureInfo.InvariantCulture);
     UpdateRobotControlPanel();
 }