Remove unused code from the Release 2 scope modules
Trim mostly-deletion changes (~700 lines) across the modules the Release 2 build compiles: unused telegrams and receiver/handler code in TrainingAreaBase (telegrams, recv_from_dds_aes/fts, ism/main/pdm/position handlers), dead members in SqlBrowser and ProjectDataManagement, unused LtsPluginManager loader paths, LtsSession unit-test, WlsTetra and DdsView cleanups, plus the stale include_directories removal in Lts/CMakeLists.txt. Continues the Release 2 source prune (keep only what the build compiles). Excluded from this commit by design: the machine-specific .envrc (MIGRATE_PIPELINE_ROOT path fix stays uncommitted) and the untracked qt5-before/ reference tree.
This commit is contained in:
1 parent
e60a860283
commit
84f8cfb41f
45 files changed
+30
-724
No files matched your search
@@ -1,6 +1,4 @@
|
||||
|
||||
|
||||
|
||||
#include "position_handler.h"
|
||||
#include "exm_handler.h"
|
||||
#include "logger.h"
|
||||
@@ -50,14 +48,9 @@ bool PositionHandler::initCoordinateConversion() const
|
||||
|
||||
|
||||
const LtsCoordTrans::UtmCoordinate bottomLeft(LtsCoordTrans::UtmCoordinate::fromGeographic(ta.bottomLeft.lon, ta.bottomLeft.lat));
|
||||
const QPointF mid(bottomLeft.geographic(ta.width / 2, ta.height / 2));
|
||||
|
||||
|
||||
|
||||
const QPointF mid(bottomLeft.geographic(ta.width / 2, ta.height / 2));
|
||||
QString mgrs = LtsCoordTrans::mgrsFromGeographic(mid.x(), mid.y(), -1);
|
||||
mgrs += QStringLiteral("00000000000000");
|
||||
|
||||
|
||||
m_utm2Geographic = LtsCoordTrans::UtmCoordinate::fromMgrs(mgrs);
|
||||
|
||||
LtsCoordTrans::UtmCoordinate topRight(bottomLeft);
|
||||
@@ -116,10 +109,7 @@ QPointF PositionHandler::geographicToRelativePointF(const Core::GeoPosition2D &p
|
||||
QPointF PositionHandler::geographicToRelativePointF(const Core::GeoPosition &p) const
|
||||
{
|
||||
initCoordinateConversion();
|
||||
|
||||
|
||||
const LtsCoordTrans::UtmCoordinate point(LtsCoordTrans::UtmCoordinate::fromGeographic(p.lon, p.lat, m_utm2Geographic.zone));
|
||||
|
||||
return QPointF(point.x - m_utm2Geographic.x, point.y - m_utm2Geographic.y);
|
||||
}
|
||||
|
||||
@@ -140,7 +130,6 @@ TetraIcd::RelativePosition PositionHandler::geographicToRelative(const Core::Geo
|
||||
const LtsCoordTrans::UtmCoordinate &PositionHandler::baseCoordinate() const
|
||||
{
|
||||
initCoordinateConversion();
|
||||
|
||||
return m_utm2Geographic;
|
||||
}
|
||||
|
||||
@@ -165,8 +154,6 @@ double PositionHandler::speed (const TetraIcd::RelativePosition &relPos, const i
|
||||
<< " timeStamp=" << timeStamp
|
||||
<< " lastParticipantPosition=" << lastParticipantPosition.time
|
||||
<< " deltaTime=" << deltaTime;
|
||||
|
||||
|
||||
double speed = line.length() / (deltaTime / 1000);
|
||||
return speed;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user