I have most everything working on the bench. Although, I had been having trouble getting WINGUI to see any Satellites. So, I tried going back and forth with tweeks in config.h and still no luck. So I thought I should take the Multiwii out of the picture and hook it up directly through a Arduino Nano's TX/RX. This way I could use the MiniGPS app to verify if the GPS was actually working and it was. I had many Satellites popping up, so I verified TX/RX lines and made sure to use the same for the multwii serial 2 connection. here are the relevant bits from config.h
Code: Select all
#define SERIAL0_COM_SPEED 115200
#define SERIAL1_COM_SPEED 115200
#define SERIAL2_COM_SPEED 115200
#define SERIAL3_COM_SPEED 115200
#define GPS_SERIAL 2
#define GPS_BAUD 57600 <----Does this have to match above?
#define NMEA
#define INIT_MTK_GPS <----Seems this is supposed to be enable during initial config and disabled later. Is this your understanding?
#define GPS_LED_INDICATOR
#define NAV_CONTROLS_HEADING true // copter faces toward the navigation point, maghold must be enabled for it
#define NAV_TAIL_FIRST false // true - copter comes in with tail first
#define NAV_SET_TAKEOFF_HEADING true // true - when copter arrives to home position it rotates it's head to takeoff direction
#define MAG_DECLINATION -10.59f //(**)
#define GPS_LEAD_FILTER // Adds a forward predictive filterig to compensate gps lag. Code based on Jason Short's lead filter implementation
#define GPS_WP_RADIUS 200 // if we are within this distance to a waypoint then we consider it reached (distance is in cm)
#define NAV_SLEW_RATE 30 // Adds a rate control to nav output, will smoothen out nav angle spikes
Since it still was not working I figured I would try upgrading the firmware on the GPS itself to DIYDrone's --- MTK_binary_19 .
The upgrade finished successfully but still no luck on multiwii even after switching to #define MTK_BINARY19 in config.h
Of course since it is now binary the MiniGPS Application can't see anything either.
Am I missing something? Do I need to add any other config lines or add the libraries that DIYDrones had listed for their tech?
Frustrated.... I need help from the Wii-master Me thinks.