From 594ae8134108e92a7ea695c9609ed56f0fc9de52 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 29 Jun 2016 08:49:36 -0700 Subject: [PATCH] Follow Me is PX4 only (#3689) --- src/FollowMe/FollowMe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FollowMe/FollowMe.cc b/src/FollowMe/FollowMe.cc index cd69e9ef9..2c4a3d151 100644 --- a/src/FollowMe/FollowMe.cc +++ b/src/FollowMe/FollowMe.cc @@ -38,7 +38,7 @@ void FollowMe::followMeHandleManager(const QString&) for (int i=0; i< vehicles.count(); i++) { Vehicle* vehicle = qobject_cast(vehicles[i]); - if(vehicle->flightMode().compare(PX4FirmwarePlugin::followMeFlightMode, Qt::CaseInsensitive) == 0) { + if (vehicle->px4Firmware() && vehicle->flightMode().compare(PX4FirmwarePlugin::followMeFlightMode, Qt::CaseInsensitive) == 0) { _enable(); return; } -- 2.22.0