Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+30
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* Contains uav ia instances (for tms-if) per uav participant
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*
|
||||
* Created by Mike Wille, ESZS, 2025-05-22
|
||||
*/
|
||||
|
||||
#include "uav_ia.h"
|
||||
#include "logger.h"
|
||||
|
||||
#include <TmsIfAdapter/uav_commander.h>
|
||||
|
||||
|
||||
namespace UAS
|
||||
{
|
||||
UAVInterfaceAdapter::UAVInterfaceAdapter(UAVInterfaceAdapterConfig uavConfig, UAVCommander *commander)
|
||||
: m_config(std::move(uavConfig))
|
||||
, m_commander(commander)
|
||||
, m_logger(getLogger(QStringLiteral("UAVInterfaceAdapter.%1").arg(m_config.m_uasId)))
|
||||
{}
|
||||
|
||||
|
||||
UAVInterfaceAdapter::~UAVInterfaceAdapter()
|
||||
{
|
||||
DEBUG_LOG(m_logger) << "terminating IA for UAV - " << (quintptr)this;
|
||||
delete m_commander;
|
||||
}
|
||||
} // namespace UAS
|
||||
Reference in new issue
Block a user