void DeviceInit::init_gps() { m_pSerMan->init(); // Initialise the LEDs board_led.init(); // Init the GPS m_pGPS->init(NULL, reinterpret_cast<const AP_SerialManager &>(*m_pSerMan) ); }
void setup() { hal.console->println("GPS AUTO library test"); hal.console->println("Test Starting"); // Initialise the leds board_led.init(); // Initialize the UART for GPS system serial_manager.init(); gps.init(NULL, serial_manager); }
//to be called only once on boot for initializing objects void setup() { hal.console->printf("GPS AUTO library test\n"); board_config.init(); // Initialise the leds board_led.init(); // Initialize the UART for GPS system serial_manager.init(); gps.init(serial_manager); }
void setup() { hal.console->println("AP_Notify library test"); // initialise the board leds board_led.init(); // turn on initialising notification AP_Notify::flags.initialising = true; AP_Notify::flags.gps_status = 1; AP_Notify::flags.armed = 1; AP_Notify::flags.pre_arm_check = 1; }
void Device::init_gps() { // Init the GPS without logging m_pGPS->init(NULL); // Initialise the LEDs board_led.init(); }