Browse Source

RequestMessageTest.cc: disable vehicle gimbal controller on this test:

As it also sends request messages and it collides with the
requests of this test
QGC4.4
davidsastresas 11 months ago committed by Julian Oes
parent
commit
7f6a912f5a
No known key found for this signature in database
GPG Key ID: F0ED380FEA56DE41
  1. 3
      src/Vehicle/RequestMessageTest.cc

3
src/Vehicle/RequestMessageTest.cc

@ -38,6 +38,9 @@ void RequestMessageTest::_testCaseWorker(TestCase_t& testCase) @@ -38,6 +38,9 @@ void RequestMessageTest::_testCaseWorker(TestCase_t& testCase)
MultiVehicleManager* vehicleMgr = qgcApp()->toolbox()->multiVehicleManager();
Vehicle* vehicle = vehicleMgr->activeVehicle();
// Gimbal controller sends message requests when receiving heartbeats, trying to find a gimbal, and it messes with this test so we disable it
vehicle->deleteGimbalController();
_mockLink->clearReceivedMavCommandCounts();
_mockLink->setRequestMessageFailureMode(testCase.failureMode);

Loading…
Cancel
Save