Skip to content
UAS.cc 72.2 KiB
Newer Older
Bart Slinger's avatar
Bart Slinger committed
{
    Q_UNUSED(severity);
    qgcApp()->toolbox()->audioOutput()->say(text);
}

void UAS::shutdownVehicle(void)
{
#ifndef __mobile__
    stopHil();
    if (simulation) {
        // wait for the simulator to exit
        simulation->wait();
        simulation->disconnectSimulation();
        simulation->deleteLater();
    }
#endif
    _vehicle = NULL;
}