Skip to content
UAS.cc 34.3 KiB
Newer Older
dogmaphobic's avatar
dogmaphobic committed
#endif
Jean Cyr's avatar
Jean Cyr committed
* Order the robot to start receiver pairing
*/
void UAS::pairRX(int rxType, int rxSubType)
{
    if (_vehicle) {
        _vehicle->sendMavCommand(_vehicle->defaultComponentId(),    // target component
                                 MAV_CMD_START_RX_PAIR,             // command id
                                 true,                              // showError
                                 rxType,
                                 rxSubType);
dogmaphobic's avatar
dogmaphobic committed

Don Gagne's avatar
Don Gagne committed
void UAS::shutdownVehicle(void)
{
murata's avatar
murata committed
    _vehicle = nullptr;
Don Gagne's avatar
Don Gagne committed
}