mirror of https://github.com/ArduPilot/ardupilot
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:
parent
2648385eb9
commit
dcc9c20f15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue