1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00

OP-144 Ground: Removing assert on getObject when it returns null because this seems to happen whenever uavtalk gets a bad message.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1658 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2010-09-16 06:20:49 +00:00 committed by peabody124
parent 110c46216e
commit 64018c88c1

View File

@ -259,7 +259,7 @@ UAVObject* UAVObjectManager::getObject(const QString* name, quint32 objId, quint
} }
} }
} }
Q_ASSERT_X(0,"UAVObjectManager::getObject",(QString("Non existant object ") + *name + QString("requested. This indicates a bug. Make sure you also have null checking for non-debug code.")).toAscii()); //qWarning("UAVObjectManager::getObject: Object not found. Probably a bug or mismatched GCS/flight versions.");
// If this point is reached then the requested object could not be found // If this point is reached then the requested object could not be found
return NULL; return NULL;
} }