mirror of https://github.com/ArduPilot/ardupilot
cleanup
git-svn-id: https://arducopter.googlecode.com/svn/trunk@316 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
673c547d91
commit
884098b74d
|
@ -22,8 +22,8 @@
|
|||
Read() : Call this funcion as often as you want to ensure you read the incomming gps data
|
||||
|
||||
Properties:
|
||||
Lattitude : Lattitude * 10000000 (long value)
|
||||
Longitude : Longitude * 10000000 (long value)
|
||||
Lattitude : Lattitude * 10,000,000 (long value)
|
||||
Longitude : Longitude * 10,000,000 (long value)
|
||||
Altitude : Altitude * 100 (meters) (long value)
|
||||
Ground_speed : Speed (m / s) * 100 (long value)
|
||||
Ground_course : Course (degrees) * 100 (long value)
|
||||
|
@ -193,7 +193,9 @@ void GPS_UBLOX_Class::parse_ubx_gps(void)
|
|||
//Altitude = join_4_bytes(&UBX_buffer[j]); // elipsoid heigth mm
|
||||
j += 4;
|
||||
Altitude = (float)join_4_bytes(&UBX_buffer[j]); // MSL heigth mm
|
||||
Altitude /= 10.; // Rescale altitude to cm
|
||||
Altitude /= 10.;
|
||||
|
||||
// Rescale altitude to cm
|
||||
//j+=4;
|
||||
/*
|
||||
hacc = (float)join_4_bytes(&UBX_buffer[j]) / (float)1000;
|
||||
|
|
Loading…
Reference in New Issue