mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 09:43:57 -04:00
Correct knots -> m/sec conversion. Thanks to Paul M. for spotting this.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1613 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
2584f9a1f1
commit
3108d661d2
@ -364,7 +364,7 @@ bool AP_GPS_NMEA::_term_complete()
|
||||
// course and speed
|
||||
//
|
||||
case 17: // Speed (GPRMC)
|
||||
_new_speed = (_parse_decimal() * 514) / 100; // knots-> m/sec, approximiates * 0.514
|
||||
_new_speed = (_parse_decimal() * 514) / 1000; // knots-> m/sec, approximiates * 0.514
|
||||
break;
|
||||
case 37: // Speed (VTG)
|
||||
_new_speed = _parse_decimal();
|
||||
|
Loading…
Reference in New Issue
Block a user