Subversion Repositories Projects

Rev

Rev 1565 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1565 Rev 1568
Line 15... Line 15...
15
        private int waypointIndex;
15
        private int waypointIndex;
16
        private int waypointCount;
16
        private int waypointCount;
Line 17... Line 17...
17
       
17
       
18
        private int numberOfSatellites;
18
        private int numberOfSatellites;
19
        private double heightByPressure; // in m.
19
        private double heightByPressure; // in m.
Line 20... Line 20...
20
        private int verticalVelocityByPressure; // 16 bit signed.
20
        private double verticalVelocityByPressure; // 16 bit signed.
21
       
21
       
Line 22... Line 22...
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 25... Line 25...
25
        private int groundSpeed; // in cm/s. 16 bit unsigned.
25
        private double groundSpeed; // in m/s. 16 bit unsigned.
26
        private int directionOfFlight;     // of movement. 16 bit signed.
26
        private int directionOfFlight;     // of movement. 16 bit signed.
Line 33... Line 33...
33
        private int fcFlags;
33
        private int fcFlags;
34
        private int ncFlags;
34
        private int ncFlags;
35
        private int errorCode;
35
        private int errorCode;
Line 36... Line 36...
36
       
36
       
37
        private int operatingRadius;
37
        private int operatingRadius;
Line 38... Line 38...
38
        private int verticalVelocityByGPS;      // 16 bit signed.
38
        private double verticalVelocityByGPS;   // 16 bit signed.
39
       
39
       
40
        private int targetLoiterTime;
40
        private int targetLoiterTime;
Line 77... Line 77...
77
                return numberOfSatellites;
77
                return numberOfSatellites;
78
        }
78
        }
79
        public double getHeightByPressure() {
79
        public double getHeightByPressure() {
80
                return heightByPressure;
80
                return heightByPressure;
81
        }
81
        }
82
        public int getVerticalVelocityByPressure() {
82
        public double getVerticalVelocityByPressure() {
83
                return verticalVelocityByPressure;
83
                return verticalVelocityByPressure;
84
        }
84
        }
85
        public int getFlightTime() {
85
        public int getFlightTime() {
86
                return flightTime;
86
                return flightTime;
87
        }
87
        }
88
        public int getBatteryVoltage() {
88
        public int getBatteryVoltage() {
89
                return batteryVoltage;
89
                return batteryVoltage;
90
        }
90
        }
91
        public int getGroundSpeed() {
91
        public double getGroundSpeed() {
92
                return groundSpeed;
92
                return groundSpeed;
93
        }
93
        }
94
        public int getDirectionOfFlight() {
94
        public int getDirectionOfFlight() {
95
                return directionOfFlight;
95
                return directionOfFlight;
96
        }
96
        }
Line 116... Line 116...
116
                return errorCode;
116
                return errorCode;
117
        }
117
        }
118
        public int getOperatingRadius() {
118
        public int getOperatingRadius() {
119
                return operatingRadius;
119
                return operatingRadius;
120
        }
120
        }
121
        public int getVerticalVelocityByGPS() {
121
        public double getVerticalVelocityByGPS() {
122
                return verticalVelocityByGPS;
122
                return verticalVelocityByGPS;
123
        }
123
        }
124
        public int getTargetLoiterTime() {
124
        public int getTargetLoiterTime() {
125
                return targetLoiterTime;
125
                return targetLoiterTime;
126
        }
126
        }
Line 167... Line 167...
167
                this.numberOfSatellites = numberOfSatellites;
167
                this.numberOfSatellites = numberOfSatellites;
168
        }
168
        }
169
        public void _setHeightByPressure(double 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(double verticalVelocityByPressure) {
173
                this.verticalVelocityByPressure = verticalVelocityByPressure;
173
                this.verticalVelocityByPressure = verticalVelocityByPressure;
174
        }
174
        }
175
        public void setFlightTime(int flightTime) {
175
        public void setFlightTime(int flightTime) {
176
                this.flightTime = flightTime;
176
                this.flightTime = flightTime;
177
        }
177
        }
178
        public void setBatteryVoltage(int batteryVoltage) {
178
        public void setBatteryVoltage(int batteryVoltage) {
179
                this.batteryVoltage = batteryVoltage;
179
                this.batteryVoltage = batteryVoltage;
180
        }
180
        }
181
        public void setGroundSpeed(int groundSpeed) {
181
        public void setGroundSpeed(double groundSpeed) {
182
                this.groundSpeed = groundSpeed;
182
                this.groundSpeed = groundSpeed;
183
        }
183
        }
184
        public void setDirectionOfFlight(int heading) {
184
        public void setDirectionOfFlight(int heading) {
185
                this.directionOfFlight = heading;
185
                this.directionOfFlight = heading;
186
        }
186
        }
Line 206... Line 206...
206
                this.errorCode = errorCode;
206
                this.errorCode = errorCode;
207
        }
207
        }
208
        public void setOperatingRadius(int operatingRadius) {
208
        public void setOperatingRadius(int operatingRadius) {
209
                this.operatingRadius = operatingRadius;
209
                this.operatingRadius = operatingRadius;
210
        }
210
        }
211
        public void setVerticalVelocityByGPS(int verticalVelocityByGPS) {
211
        public void setVerticalVelocityByGPS(double verticalVelocityByGPS) {
212
                this.verticalVelocityByGPS = verticalVelocityByGPS;
212
                this.verticalVelocityByGPS = verticalVelocityByGPS;
213
        }
213
        }
214
        public void setTargetLoiterTime(int targetLoiterTime) {
214
        public void setTargetLoiterTime(int targetLoiterTime) {
215
                this.targetLoiterTime = targetLoiterTime;
215
                this.targetLoiterTime = targetLoiterTime;
216
        }
216
        }