correct ground_course scaling error

git-svn-id: https://arducopter.googlecode.com/svn/trunk@57 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
deweibel 2010-08-03 20:36:52 +00:00
parent 2648385eb9
commit dcc9c20f15
1 changed files with 1 additions and 0 deletions

View File

@ -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 Ground_Speed = join_4_bytes(&UBX_buffer[j]); // Ground speed 2D cm/s
j+=4; j+=4;
Ground_Course = join_4_bytes(&UBX_buffer[j]); // Heading 2D deg*100000 Ground_Course = join_4_bytes(&UBX_buffer[j]); // Heading 2D deg*100000
Ground_course /= 1000; // Rescale heading to deg * 100
j+=4; j+=4;
/* /*
sacc = join_4_bytes(&UBX_buffer[j]) // Speed accuracy sacc = join_4_bytes(&UBX_buffer[j]) // Speed accuracy