mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
refactor: Remove unused interpolator logger parameter
This commit is contained in:
@@ -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 Δ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>" %
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user