Subversion Repositories Projects

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package dongfang.mkt.frames;

public class AttitudeDataResponseFrame extends ResponseFrame {
        // signed int  Winkel[3]; // nick, roll, compass in 0,1�
        // signed char reserve[8];
        private int pitch;
        private int roll;
        private int heading;
        private int[] expansion;
       
        public AttitudeDataResponseFrame(int address) {
                super(address);
        }

        @Override
        public boolean isResponseTo(RequestFrame r) {
                return r instanceof AttitudeDataRequestFrame;
        }

        public int getPitch() {
                return pitch;
        }

        public void setPitch(int pitch) {
                this.pitch = pitch;
        }

        public int getRoll() {
                return roll;
        }

        public void setRoll(int roll) {
                this.roll = roll;
        }

        public int getHeading() {
                return heading;
        }

        public void setHeading(int heading) {
                this.heading = heading;
        }

        public int[] getExpansion() {
                return expansion;
        }

        public void setExpansion(int[] expansion) {
                this.expansion = expansion;
        }
}