Subversion Repositories Projects

Rev

Rev 1564 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1564 Rev 1565
Line 14... Line 14...
14
       
14
       
15
        private int waypointIndex;
15
        private int waypointIndex;
16
        private int waypointCount;
16
        private int waypointCount;
17
       
17
       
18
        private int numberOfSatellites;
18
        private int numberOfSatellites;
19
        private int heightByPressure;           // 16 bit signed.
19
        private double heightByPressure; // in m.
20
        private int verticalVelocityByPressure; // 16 bit signed.
20
        private int verticalVelocityByPressure; // 16 bit signed.
21
       
21
       
22
        private int flightTime; // in secs. 16 bit unsigned.
22
        private int flightTime; // in secs. 16 bit unsigned.
23
        private int batteryVoltage; // in 0.1 volts.
23
        private int batteryVoltage; // in 0.1 volts.
24
 
24
 
Line 37... Line 37...
37
        private int operatingRadius;
37
        private int operatingRadius;
38
        private int verticalVelocityByGPS;      // 16 bit signed.
38
        private int verticalVelocityByGPS;      // 16 bit signed.
39
       
39
       
40
        private int targetLoiterTime;
40
        private int targetLoiterTime;
41
        private int fcFlags2;
41
        private int fcFlags2;
42
        private int setpointForAltitude;        // 16 bit signed.
42
        private double setpointForAltitude; // in m.
43
       
43
       
44
        private int throttle;    
44
        private int throttle;    
45
        private int current;      // 16 bit unsigned.
45
        private int current;      // 16 bit unsigned.
46
        private int capacityUsed; // 16 bit unsigned.
46
        private int capacityUsed; // 16 bit unsigned.
47
       
47
       
Line 74... Line 74...
74
                return waypointCount;
74
                return waypointCount;
75
        }
75
        }
76
        public int getNumberOfSatellites() {
76
        public int getNumberOfSatellites() {
77
                return numberOfSatellites;
77
                return numberOfSatellites;
78
        }
78
        }
79
        public int getHeightByPressure() {
79
        public double getHeightByPressure() {
80
                return heightByPressure;
80
                return heightByPressure;
81
        }
81
        }
82
        public int getVerticalVelocityByPressure() {
82
        public int getVerticalVelocityByPressure() {
83
                return verticalVelocityByPressure;
83
                return verticalVelocityByPressure;
84
        }
84
        }
Line 125... Line 125...
125
                return targetLoiterTime;
125
                return targetLoiterTime;
126
        }
126
        }
127
        public int getFcFlags2() {
127
        public int getFcFlags2() {
128
                return fcFlags2;
128
                return fcFlags2;
129
        }
129
        }
130
        public int getSetpointForAltitude() {
130
        public double getSetpointForAltitude() {
131
                return setpointForAltitude;
131
                return setpointForAltitude;
132
        }
132
        }
133
        public int getThrottle() {
133
        public int getThrottle() {
134
                return throttle;
134
                return throttle;
135
        }
135
        }
Line 164... Line 164...
164
                this.waypointCount = waypointCount;
164
                this.waypointCount = waypointCount;
165
        }
165
        }
166
        public void setNumberOfSatellites(int numberOfSatellites) {
166
        public void setNumberOfSatellites(int numberOfSatellites) {
167
                this.numberOfSatellites = numberOfSatellites;
167
                this.numberOfSatellites = numberOfSatellites;
168
        }
168
        }
169
        public void setHeightByPressure(int heightByPressure) {
169
        public void _setHeightByPressure(double heightByPressure) {
170
                this.heightByPressure = heightByPressure;
170
                this.heightByPressure = heightByPressure;
171
        }
171
        }
172
        public void setVerticalVelocityByPressure(int verticalVelocityByPressure) {
172
        public void setVerticalVelocityByPressure(int verticalVelocityByPressure) {
173
                this.verticalVelocityByPressure = verticalVelocityByPressure;
173
                this.verticalVelocityByPressure = verticalVelocityByPressure;
174
        }
174
        }
Line 215... Line 215...
215
                this.targetLoiterTime = targetLoiterTime;
215
                this.targetLoiterTime = targetLoiterTime;
216
        }
216
        }
217
        public void setFcFlags2(int fcFlags2) {
217
        public void setFcFlags2(int fcFlags2) {
218
                this.fcFlags2 = fcFlags2;
218
                this.fcFlags2 = fcFlags2;
219
        }
219
        }
220
        public void setSetpointForAltitude(int setpointForAltitude) {
220
        public void setSetpointForAltitude(double setpointForAltitude) {
221
                this.setpointForAltitude = setpointForAltitude;
221
                this.setpointForAltitude = setpointForAltitude;
222
        }
222
        }
223
        public void setThrottle(int throttle) {
223
        public void setThrottle(int throttle) {
224
                this.throttle = throttle;
224
                this.throttle = throttle;
225
        }
225
        }