/// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="serialNo">The serial number of the controller</param>
 /// <remarks>TODO: make sure all errors are handled so the server can run smoothly</remarks>
 public TicMotor(string serialNo)
 {
     this.serial = serialNo;
     try
     {
         TryReconnect(); // open the motor so we can handle errors and set the max velocity
         ticController.set_max_speed((int)CONSTANTS.MAX_VELOCITY);
         ticController.set_starting_speed(5000000);
         ticController.set_max_accel(3000000);
         ticController.set_max_decel(3000000);
     }
     catch (Exception e)
     {
         Console.Write("[TicMotorError] : " + e.StackTrace);
     }
 }