コード例 #1
0
ファイル: AP_GPS_406.cpp プロジェクト: 415porto/ardupilotone
// Public Methods ////////////////////////////////////////////////////////////////////
void AP_GPS_406::init(void)
{
	_change_to_sirf_protocol();		// Changes to SIRF protocol and sets baud rate
	_configure_gps(); 				// Function to configure GPS, to output only the desired msg's

	AP_GPS_SIRF::init();			// let the superclass do anything it might need here
}
コード例 #2
0
// Public Methods ////////////////////////////////////////////////////////////////////
void AP_GPS_406::init(enum GPS_Engine_Setting nav_setting)
{
    _change_to_sirf_protocol();         // Changes to SIRF protocol and sets baud rate
    _configure_gps();                           // Function to configure GPS, to output only the desired msg's

    AP_GPS_SIRF::init(nav_setting);                     // let the superclass do anything it might need here

    idleTimeout = 1200;
}