TeamCode/src/main/java/org/firstinspires/ftc/teamcode/libraries/SensorLib.java
public void move(double dx, double dy, double bearing) {
            double a = Math.toRadians(bearing);
            mPosition.x += dx * Math.cos(a) - dy * Math.sin(a);
            mPosition.y += dx * Math.sin(a) + dy * Math.cos(a);
        }
// bearing is absolute in degrees with zero being along the field Y-axis, positive CCW
bearing is absolute in degrees with zero being along the field Y-axis, positive CCW
bearing is absolute in degrees with zero being along the field Y - axis positive CCW
public void move(double dx, double dy, double bearing) {
            double a = Math.toRadians(bearing);
            mPosition.x += dx * Math.cos(a) - dy * Math.sin(a);
            mPosition.y += dx * Math.sin(a) + dy * Math.cos(a);
        }
public void move ( double dx , double dy , double bearing ) { double a = Math . toRadians ( bearing ) ; mPosition . x += dx * Math . cos ( a ) - dy * Math . sin ( a ) ; mPosition . y += dx * Math . sin ( a ) + dy * Math . cos ( a ) ; }
bearing is absolute in degrees with zero being along the field Y-axis, positive CCW
bearing is absolute in degrees with zero being along the field Y - axis positive CCW