Subversion Repositories Projects

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1540 - 1
package dongfang.mkt.frames;
2
 
3
public class AttitudeDataResponseFrame extends ResponseFrame {
4
        // signed int  Winkel[3]; // nick, roll, compass in 0,1�
5
        // signed char reserve[8];
6
        private int pitch;
7
        private int roll;
8
        private int heading;
9
        private int[] expansion;
10
 
11
        public AttitudeDataResponseFrame(int address) {
12
                super(address);
13
        }
14
 
15
        @Override
16
        public boolean isResponseTo(RequestFrame r) {
17
                return r instanceof AttitudeDataRequestFrame;
18
        }
19
 
20
        public int getPitch() {
21
                return pitch;
22
        }
23
 
24
        public void setPitch(int pitch) {
25
                this.pitch = pitch;
26
        }
27
 
28
        public int getRoll() {
29
                return roll;
30
        }
31
 
32
        public void setRoll(int roll) {
33
                this.roll = roll;
34
        }
35
 
36
        public int getHeading() {
37
                return heading;
38
        }
39
 
40
        public void setHeading(int heading) {
41
                this.heading = heading;
42
        }
43
 
44
        public int[] getExpansion() {
45
                return expansion;
46
        }
47
 
48
        public void setExpansion(int[] expansion) {
49
                this.expansion = expansion;
50
        }
51
}