From dcc9c20f159487e29bc8514df2e15a7f043a2e11 Mon Sep 17 00:00:00 2001 From: deweibel Date: Tue, 3 Aug 2010 20:36:52 +0000 Subject: [PATCH] correct ground_course scaling error git-svn-id: https://arducopter.googlecode.com/svn/trunk@57 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/GPS_UBLOX/GPS_UBLOX.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/GPS_UBLOX/GPS_UBLOX.cpp b/libraries/GPS_UBLOX/GPS_UBLOX.cpp index e8276f5eab..35b9643d24 100644 --- a/libraries/GPS_UBLOX/GPS_UBLOX.cpp +++ b/libraries/GPS_UBLOX/GPS_UBLOX.cpp @@ -226,6 +226,7 @@ void GPS_UBLOX_Class::parse_ubx_gps(void) Ground_Speed = join_4_bytes(&UBX_buffer[j]); // Ground speed 2D cm/s j+=4; Ground_Course = join_4_bytes(&UBX_buffer[j]); // Heading 2D deg*100000 + Ground_course /= 1000; // Rescale heading to deg * 100 j+=4; /* sacc = join_4_bytes(&UBX_buffer[j]) // Speed accuracy