Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+9
-9
@@ -115,12 +115,12 @@ bool FromTab::txData(const TrainingAreaBase::TetraIcd::Init &data)
|
||||
bool FromTab::txData(const TrainingAreaBase::TetraIcd::UAVPerformMission &data)
|
||||
{
|
||||
const int eqId = data.header.equipmentNumber;
|
||||
DEBUG_LOG() << "eqId: " << eqId;
|
||||
DEBUG_LOG(m_logger) << "eqId: " << eqId;
|
||||
const ParticipantManagement::Participant p = m_dtcPpm->participant(m_dtcPpm->participantIdByEquipmentNumber(eqId));
|
||||
|
||||
if (p.id() <= 0)
|
||||
{
|
||||
WARNING_LOG() << "participant not found - stop";
|
||||
WARNING_LOG(m_logger) << "participant not found - stop";
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ bool FromTab::txData(const TrainingAreaBase::TetraIcd::UAVPerformMission &data)
|
||||
|
||||
if (!m_uavIAManager->waypoint(p.id(), action.absPosition, QStringLiteral("%1_%2").arg(data.missionId).arg(data.missionName)))
|
||||
{
|
||||
WARNING_LOG() << "sending waypoint failed!";
|
||||
WARNING_LOG(m_logger) << "sending waypoint failed!";
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ bool FromTab::txData(const TrainingAreaBase::TetraIcd::UAVChangeState &data)
|
||||
|
||||
if (p.id() <= 0)
|
||||
{
|
||||
WARNING_LOG() << "participant not found - stop";
|
||||
WARNING_LOG(m_logger) << "participant not found - stop";
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -167,23 +167,23 @@ bool FromTab::txData(const TrainingAreaBase::TetraIcd::CesHitRequest &data)
|
||||
{
|
||||
|
||||
|
||||
DEBUG_LOG() << "data.chargeTasCodeDirect = " << data.chargeTasCodeDirect;
|
||||
DEBUG_LOG(m_logger) << "data.chargeTasCodeDirect = " << data.chargeTasCodeDirect;
|
||||
|
||||
|
||||
if (!m_dtcPdm->isJamming(data.chargeTasCodeDirect,0,0))
|
||||
{
|
||||
WARNING_LOG() << "not jamming";
|
||||
WARNING_LOG(m_logger) << "not jamming";
|
||||
return false;
|
||||
}
|
||||
|
||||
DEBUG_LOG() << "participantEventChanged: JAMMING! chargetasCodeDirect = " << data.chargeTasCodeDirect;
|
||||
DEBUG_LOG(m_logger) << "participantEventChanged: JAMMING! chargetasCodeDirect = " << data.chargeTasCodeDirect;
|
||||
|
||||
const int eqId = data.header.equipmentNumber;
|
||||
const ParticipantManagement::Participant p = m_dtcPpm->participant(m_dtcPpm->participantIdByEquipmentNumber(eqId));
|
||||
|
||||
if (p.id() <= 0)
|
||||
{
|
||||
WARNING_LOG() << "participant not found - stop";
|
||||
WARNING_LOG(m_logger) << "participant not found - stop";
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ bool FromTab::txData(const TrainingAreaBase::TetraIcd::CesHitRequest &data)
|
||||
msg.vulnerabilityState = TrainingAreaBase::TetraIcd::VulnerabilityState::CatastrophicKill;
|
||||
msg.originatorId = data.originatorEquipmentNumber;
|
||||
|
||||
DEBUG_LOG() << "sending state change direct (kill) with jamming for eqId " << msg.header.equipmentNumber;
|
||||
DEBUG_LOG(m_logger) << "sending state change direct (kill) with jamming for eqId " << msg.header.equipmentNumber;
|
||||
|
||||
m_sendToDds->rxData(msg);
|
||||
|
||||
|
||||
Reference in new issue
Block a user