refactor: Remove unused interpolator logger parameter

This commit is contained in:
Lars Toenning
2024-01-13 23:10:20 +01:00
parent eea9c8473a
commit b502d968db
3 changed files with 1 additions and 5 deletions

View File

@@ -290,7 +290,7 @@ namespace BlackMisc::Simulation
u"<thead><tr>"
u"<th title=\"changed situation\">cs.</th><th>Int</th>"
u"<th title=\"recalculated interpolant\">recalc</th>"
u"<th>CS</th><th>VTOL</th><th>timestamp</th><th>since</th>"
u"<th>CS</th><th>timestamp</th><th>since</th>"
u"<th>ts old</th><th>ts new</th><th>ts cur</th>"
u"<th>Interpolation ts.</th><th>Sample &Delta;t</th><th>fraction</th>"
u"<th>lat.old</th><th>lat.new</th><th>lat.cur</th>"
@@ -328,7 +328,6 @@ namespace BlackMisc::Simulation
u"<td>" % boolToYesNo(log.interpolantRecalc) % u"</td>"
u"<td>" %
log.callsign.asString() % u"</td>" %
u"<td>" % boolToYesNo(log.vtolAircraft) % u"</td>" %
u"<td>" % msSinceEpochToTime(log.tsCurrent) % u"</td>" %
u"<td>" % QString::number(log.tsCurrent - firstLog.tsCurrent) % u"</td>" %

View File

@@ -32,7 +32,6 @@ namespace BlackMisc
double simTimeFraction = -1; //!< time fraction, expected 0..1
double deltaSampleTimesMs = -1; //!< delta time between samples (i.e. 2 situations)
bool useParts = false; //!< supporting aircraft parts
bool vtolAircraft = false; //!< VTOL aircraft
bool interpolantRecalc = false; //!< interpolant recalculated
int noNetworkSituations = 0; //!< available network situations
int noInvalidSituations = 0; //!< invalid situations, missing situations for timestampd

View File

@@ -346,8 +346,6 @@ namespace BlackMisc::Simulation
log.noNetworkSituations = m_currentSituations.sizeInt();
log.useParts = this->isRemoteAircraftSupportingParts(m_callsign);
m_logger->logInterpolation(log);
// if (log.interpolantRecalc) { CLogMessage(this).debug(u"Recalc %1") << log.callsign.asString(); }
}
// bye