mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Finished merging GPS autoconfig + ubx protocol code.
use set gps_type=X in cli to configure, where X=0 if NMEA (no special config), X=1 if UBX (enters ubx binary mode), X=2 if MTK (sets up MTK for 5Hz operation). changed default GPS rate to 115200 baud added baudrate reset stuff to UART driver for GPS autoconfigure NONE of this is tested (except UBX working on my window) git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@204 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
80d7ba604b
commit
b2bc4bf9e6
6 changed files with 2416 additions and 2000 deletions
|
@ -184,8 +184,8 @@ void checkFirstTime(bool reset)
|
|||
cfg.gimbal_roll_mid = 1500;
|
||||
|
||||
// gps/nav stuff
|
||||
cfg.gps_type = 0; // NMEA
|
||||
cfg.gps_baudrate = 9600;
|
||||
cfg.gps_type = GPS_NMEA;
|
||||
cfg.gps_baudrate = 115200;
|
||||
cfg.gps_wp_radius = 200;
|
||||
cfg.gps_lpf = 20;
|
||||
cfg.nav_slew_rate = 30;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue