/// <summary>
 /// a copy constructor, intended to pass velocity and omega to differential drive before conversion from Unicycle
 /// </summary>
 /// <param name="src"></param>
 public DifferentialDriveInputs(IDriveInputs src)
 {
     this.velocity = src.velocity;
     this.omega = src.omega;
 }
Exemplo n.º 2
0
 /// <summary>
 /// a copy constructor, intended to pass velocity and omega to differential drive before conversion from Unicycle
 /// </summary>
 /// <param name="src"></param>
 public DifferentialDriveInputs(IDriveInputs src)
 {
     this.velocity = src.velocity;
     this.omega    = src.omega;
 }