Skip to content

Commit

Permalink
Keep CartesianMecanumDrive fields public for legacy reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
bubner committed Aug 8, 2024
1 parent 7f89623 commit f037487
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@
* @see MecanumDrive
*/
public class CartesianMecanumDrive extends BunyipsSubsystem {
// Fields left public for legacy reasons
/**
* Horizontal speed of the robot.
*/
private double speedX;
public double speedX;
/**
* Vertical speed of the robot.
*/
private double speedY;
public double speedY;
/**
* Rotational speed of the robot.
*/
private double speedR;
private DcMotor frontLeft;
public double speedR;

// Axial translation speeds
private DcMotor frontLeft;
private DcMotor backLeft;
private DcMotor frontRight;
private DcMotor backRight;
// Store and declare prioritisation when given instruction to calculate motor powers

private Priority priority = Priority.NORMALISED;

/**
Expand Down

0 comments on commit f037487

Please sign in to comment.