Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
add change rotation axis
Browse files Browse the repository at this point in the history
  • Loading branch information
RobotIGS-Building committed Sep 21, 2023
1 parent 0a1ad23 commit 716b522
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ public interface Chassi {
String debug();
float getRotation();
void setRotation(float rotation);
void setRotationAxis(int axis);
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ public void setRotation(float rotation) {
rotation_offset = -getRawRotation() + rotation;
}

public void setRotation_axis(int axis) {
rotation_axis = axis;
}

public float getRotation() {
return rotation;
}
Expand Down

0 comments on commit 716b522

Please sign in to comment.