Skip to content

Commit

Permalink
refactor: Remove unused interpolator logger parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ltoenning committed Oct 21, 2024
1 parent 7cd5516 commit 408254b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>"
Expand Down Expand Up @@ -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>" %

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/blackmisc/simulation/interpolation/interpolator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 408254b

Please sign in to comment.