Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class myMeasurements {
- private int dx, dy, theta, s1, s2, s3;
- public myMeasurements()
- {
- setAll(0, 0, 0, 0, 0, 0);
- }
- public myMeasurements(int dx, int dy, int dt, int s1, int s2, int s3)
- {
- setAll(dx, dy, dt, s1, s2, s3);
- }
- public void setAll(int dx, int dy, int theta, int s1, int s2, int s3){
- this.dx = dx;
- this.dy = dy;
- this.theta = theta;
- this.s1 = s1;
- this.s2 = s2;
- this.s3 = s3;
- }
- public int getDx() {
- return dx;
- }
- public void setDx(int dx) {
- this.dx = dx;
- }
- public int getDy() {
- return dy;
- }
- public void setDy(int dy) {
- this.dy = dy;
- }
- public int getTheta() {
- return theta;
- }
- public void setTheta(int theta) {
- this.theta = theta;
- }
- public int getS1() {
- return s1;
- }
- public void setS1(int s1) {
- this.s1 = s1;
- }
- public int getS2() {
- return s2;
- }
- public void setS2(int s2) {
- this.s2 = s2;
- }
- public int getS3() {
- return s3;
- }
- public void setS3(int s3) {
- this.s3 = s3;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement