projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Allow target-specific USB endpoint specifications
[fw/altos]
/
altoslib
/
AltosTelemetryRecordLocation.java
diff --git
a/altoslib/AltosTelemetryRecordLocation.java
b/altoslib/AltosTelemetryRecordLocation.java
index a0a8ab8159cd0f4e5aeb2edc2cf7693c7b50ed2a..0236d29166b36a95373b6a9cba25d4707434b9b9 100644
(file)
--- a/
altoslib/AltosTelemetryRecordLocation.java
+++ b/
altoslib/AltosTelemetryRecordLocation.java
@@
-15,7
+15,7
@@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-package org.altusmetrum.altoslib;
+package org.altusmetrum.altoslib
_1
;
public class AltosTelemetryRecordLocation extends AltosTelemetryRecordRaw {
public class AltosTelemetryRecordLocation extends AltosTelemetryRecordRaw {
@@
-37,8
+37,8
@@
public class AltosTelemetryRecordLocation extends AltosTelemetryRecordRaw {
int climb_rate;
int course;
int climb_rate;
int course;
- public AltosTelemetryRecordLocation(int[] in_bytes) {
- super(in_bytes);
+ public AltosTelemetryRecordLocation(int[] in_bytes
, int rssi
) {
+ super(in_bytes
, rssi
);
flags = uint8(5);
altitude = int16(6);
flags = uint8(5);
altitude = int16(6);
@@
-85,7
+85,7
@@
public class AltosTelemetryRecordLocation extends AltosTelemetryRecordRaw {
next.gps.hdop = hdop;
next.gps.vdop = vdop;
next.seen |= AltosRecord.seen_gps_time | AltosRecord.seen_gps_lat | AltosRecord.seen_gps_lon;
next.gps.hdop = hdop;
next.gps.vdop = vdop;
next.seen |= AltosRecord.seen_gps_time | AltosRecord.seen_gps_lat | AltosRecord.seen_gps_lon;
- next.
new_gps = true
;
+ next.
gps_sequence++
;
}
return next;
}
return next;