![]() |
Rise
The Vieneo Province
|
#include <TelemetrySnapshot.h>
Public Member Functions | |
| SnapshotChannel () | |
| void | Configure (SequenceMode sequenceMode, const ChannelConfig &config) |
| void | Reset (int identity, int reference, int parentSlot, bool requireLowBootstrapSequence) |
| Acceptance | Push (MotionSnapshot snapshot, double receiptSeconds) |
| PresentationState | Sample (double nowSeconds, double elapsedSeconds) |
| ChannelMetrics | GetMetrics (double nowSeconds) const |
| bool | HasSamples () const |
| std::size_t | Depth () const |
| const MotionSnapshot & | SnapshotAt (std::size_t logicalIndex) const |
Private Member Functions | |
| std::size_t | PhysicalIndex (std::size_t logicalIndex) const |
| void | ClearHistory () |
| void | RecordIncoming (double receiptSeconds) |
| void | UpdateCadence (double rawIntervalSeconds) |
| void | UpdateSourceCadence (double sourceIntervalSeconds) |
| void | ResetSourceTiming () |
| double | InterpolationDelay () const |
| double | ExtrapolationCap () const |
| PresentationState | Evaluate (double presentationSeconds) const |
| PresentationState | Interpolate (const MotionSnapshot &first, const MotionSnapshot &second, double amount) const |
| PresentationState | Extrapolate (const MotionSnapshot &snapshot, double seconds) const |
| std::uint16_t | ForwardDelta (std::uint16_t incoming) const |
| void | AdvanceCorrection (double elapsedSeconds) |
Private Attributes | |
| std::array< MotionSnapshot, SnapshotCapacity > | snapshots_ = {} |
| std::size_t | head_ = 0 |
| std::size_t | count_ = 0 |
| SequenceMode | sequenceMode_ = SequenceMode::UShort |
| ChannelConfig | config_ |
| ChannelMetrics | metrics_ |
| bool | requireLowBootstrapSequence_ = false |
| bool | intervalInitialized_ = false |
| bool | hasRawReceipt_ = false |
| double | lastRawReceiptSeconds_ = 0.0 |
| double | packetWindowStartSeconds_ = 0.0 |
| std::uint32_t | packetWindowCount_ = 0 |
| bool | hasSourceObservation_ = false |
| bool | sourceTimed_ = false |
| bool | sourceIntervalInitialized_ = false |
| std::uint16_t | lastObservedSampleTimeMs_ = 0 |
| std::uint16_t | lastObservedSourceRevision_ = 0 |
| double | sourceIntervalSeconds_ = 0.0 |
| double | sourcePhaseSeconds_ = 0.0 |
| Vec3 | correctionOffset_ |
| Vec3 | correctionVelocity_ |
| PresentationState | lastPresentation_ |
| bool | lastPresentationWasExtrapolated_ = false |
Definition at line 168 of file TelemetrySnapshot.h.
|
default |
|
private |
|
private |
| void Telemetry::SnapshotChannel::Configure | ( | SequenceMode | sequenceMode, |
| const ChannelConfig & | config ) |
| std::size_t Telemetry::SnapshotChannel::Depth | ( | ) | const |
|
private |
Definition at line 638 of file TelemetrySnapshot.cpp.
|
private |
Definition at line 607 of file TelemetrySnapshot.cpp.
|
private |
|
private |
| ChannelMetrics Telemetry::SnapshotChannel::GetMetrics | ( | double | nowSeconds | ) | const |
Definition at line 695 of file TelemetrySnapshot.cpp.
| bool Telemetry::SnapshotChannel::HasSamples | ( | ) | const |
|
private |
Definition at line 572 of file TelemetrySnapshot.cpp.
|
private |
Definition at line 544 of file TelemetrySnapshot.cpp.
|
private |
| Acceptance Telemetry::SnapshotChannel::Push | ( | MotionSnapshot | snapshot, |
| double | receiptSeconds ) |
|
private |
| void Telemetry::SnapshotChannel::Reset | ( | int | identity, |
| int | reference, | ||
| int | parentSlot, | ||
| bool | requireLowBootstrapSequence ) |
Definition at line 236 of file TelemetrySnapshot.cpp.
|
private |
| PresentationState Telemetry::SnapshotChannel::Sample | ( | double | nowSeconds, |
| double | elapsedSeconds ) |
Definition at line 680 of file TelemetrySnapshot.cpp.
| const MotionSnapshot & Telemetry::SnapshotChannel::SnapshotAt | ( | std::size_t | logicalIndex | ) | const |
Definition at line 714 of file TelemetrySnapshot.cpp.
|
private |
Definition at line 296 of file TelemetrySnapshot.cpp.
|
private |
|
private |
Definition at line 201 of file TelemetrySnapshot.h.
|
private |
Definition at line 216 of file TelemetrySnapshot.h.
|
private |
Definition at line 217 of file TelemetrySnapshot.h.
|
private |
Definition at line 199 of file TelemetrySnapshot.h.
|
private |
Definition at line 205 of file TelemetrySnapshot.h.
|
private |
Definition at line 209 of file TelemetrySnapshot.h.
|
private |
Definition at line 198 of file TelemetrySnapshot.h.
|
private |
Definition at line 204 of file TelemetrySnapshot.h.
|
private |
Definition at line 212 of file TelemetrySnapshot.h.
|
private |
Definition at line 213 of file TelemetrySnapshot.h.
|
private |
Definition at line 218 of file TelemetrySnapshot.h.
|
private |
Definition at line 219 of file TelemetrySnapshot.h.
|
private |
Definition at line 206 of file TelemetrySnapshot.h.
|
private |
Definition at line 202 of file TelemetrySnapshot.h.
|
private |
Definition at line 208 of file TelemetrySnapshot.h.
|
private |
Definition at line 207 of file TelemetrySnapshot.h.
|
private |
Definition at line 203 of file TelemetrySnapshot.h.
|
private |
Definition at line 200 of file TelemetrySnapshot.h.
|
private |
Definition at line 197 of file TelemetrySnapshot.h.
|
private |
Definition at line 211 of file TelemetrySnapshot.h.
|
private |
Definition at line 214 of file TelemetrySnapshot.h.
|
private |
Definition at line 215 of file TelemetrySnapshot.h.
|
private |
Definition at line 210 of file TelemetrySnapshot.h.