Ejemplo n.º 1
0
 /// <summary>
 /// Initialization constructor
 /// </summary>
 /// <param name="distanceBetweenWheels"></param>
 /// <param name="leftWheel"></param>
 /// <param name="rightWheel"></param>
 public DriveDifferentialTwoWheelState(double distanceBetweenWheels, motor.WheeledMotorState leftWheel, motor.WheeledMotorState rightWheel)
 {
     _distanceBetweenWheels = distanceBetweenWheels;
     _leftWheel             = leftWheel;
     _rightWheel            = rightWheel;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialization constructor
 /// </summary>
 /// <param name="distanceBetweenWheels"></param>
 /// <param name="leftWheel"></param>
 /// <param name="rightWheel"></param>
 public DriveDifferentialTwoWheelState(double distanceBetweenWheels, motor.WheeledMotorState leftWheel, motor.WheeledMotorState rightWheel)
 {
     _distanceBetweenWheels = distanceBetweenWheels;
     _leftWheel = leftWheel;
     _rightWheel = rightWheel;
 }