You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
440 B
21 lines
440 B
#include "MockUAS.h" |
|
|
|
QString MockUAS::_bogusStaticString; |
|
|
|
MockUAS::MockUAS(void) : |
|
_systemType(MAV_TYPE_QUADROTOR), |
|
_systemId(1) |
|
{ |
|
|
|
} |
|
|
|
void MockUAS::setMockParametersAndSignal(MockQGCUASParamManager::ParamMap_t& map) |
|
{ |
|
_paramManager.setMockParameters(map); |
|
|
|
QMapIterator<QString, QVariant> i(map); |
|
while (i.hasNext()) { |
|
i.next(); |
|
emit parameterChanged(_systemId, 0, i.key(), i.value()); |
|
} |
|
} |