Ejemplo n.º 1
0
        /// <summary>
        /// <para>Stops the MotorControl-program.</para>
        /// </summary>
        /// <remarks>
        /// <para>Stops any running program, even it the program is not the MotorControl-program.</para>
        /// </remarks>
        public void StopMotorControl()
        {
            MotorControlProxy.StopMotorControl(CommLink);
            Thread.Sleep(500);

            InitSensors();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// <para>Queries if the MotorControl-program is currently running on the NXT.</para>
 /// </summary>
 /// <returns>True if the MotorControl-program is running, false if not</returns>
 public bool IsMotorControlRunning()
 {
     return(MotorControlProxy.IsMotorControlRunningOnNxt(CommLink));
 }