Ejemplo n.º 1
0
 public void setAllWheelAngles(double degrees) { // Set all wheel pods to face the same direction
   _swervePod1.setTurningSetpoint(degrees);
   _swervePod2.setTurningSetpoint(degrees);
   _swervePod3.setTurningSetpoint(degrees);
   _swervePod4.setTurningSetpoint(degrees);
 }
Ejemplo n.º 2
0
 public void setWheelAngles(double degrees1, double degrees2, double degrees3, double degrees4) {
   _swervePod1.setTurningSetpoint(degrees1);
   _swervePod2.setTurningSetpoint(degrees2);
   _swervePod3.setTurningSetpoint(degrees3);
   _swervePod4.setTurningSetpoint(degrees4);
 }