pub struct VelocityObservation { /* private fields */ }Expand description
Ground velocity (receiver course and speed).
Implementations§
Source§impl VelocityObservation
impl VelocityObservation
Sourcepub fn new(
taken_at: Instant<Utc>,
velocity: Vector3<Ned, Speed>,
sigma: Speed,
) -> Self
pub fn new( taken_at: Instant<Utc>, velocity: Vector3<Ned, Speed>, sigma: Speed, ) -> Self
Velocity with the same 1σ on each component.
Sourcepub fn from_track(
taken_at: Instant<Utc>,
course: TrueCourse,
speed: Speed,
sigma: Speed,
) -> Self
pub fn from_track( taken_at: Instant<Utc>, course: TrueCourse, speed: Speed, sigma: Speed, ) -> Self
Course and speed over ground.
Sourcepub fn from_fix(fix: &GnssFix, sigma: Speed) -> Option<Self>
pub fn from_fix(fix: &GnssFix, sigma: Speed) -> Option<Self>
Velocity of a fix, if it reports both course and speed.
Sourcepub const fn with_gate(self, gate: GatingPolicy) -> Self
pub const fn with_gate(self, gate: GatingPolicy) -> Self
Sets the gate.
Sourcepub const fn from_sensor(self, sensor: SensorId) -> Self
pub const fn from_sensor(self, sensor: SensorId) -> Self
Sets the source identifier; differently named receivers are judged separately.
Trait Implementations§
Source§impl Clone for VelocityObservation
impl Clone for VelocityObservation
impl Copy for VelocityObservation
Source§impl Debug for VelocityObservation
impl Debug for VelocityObservation
Source§impl Observation for VelocityObservation
impl Observation for VelocityObservation
Source§fn predict(&self, state: &NavigationState) -> Result<ObservationVector>
fn predict(&self, state: &NavigationState) -> Result<ObservationVector>
u (cos ψ, sin ψ) + c.
Source§fn sensor(&self) -> SensorId
fn sensor(&self) -> SensorId
Source identifier, for reporting and per-source health: the estimator
tracks accept/reject runs per
SensorId, so differently named
receivers are judged separately.Source§fn measured(&self) -> ObservationVector
fn measured(&self) -> ObservationVector
Measurement
z.Source§fn jacobian(&self, state: &NavigationState) -> Result<ObservationJacobian>
fn jacobian(&self, state: &NavigationState) -> Result<ObservationJacobian>
Source§fn noise(&self) -> ObservationNoise
fn noise(&self) -> ObservationNoise
Measurement noise
R.Source§fn gate(&self) -> GatingPolicy
fn gate(&self) -> GatingPolicy
Gating policy.
Source§fn innovation(
&self,
predicted: &ObservationVector,
) -> Result<ObservationVector, KernelError>
fn innovation( &self, predicted: &ObservationVector, ) -> Result<ObservationVector, KernelError>
Innovation
z − h(x). Read moreSource§impl PartialEq for VelocityObservation
impl PartialEq for VelocityObservation
impl StructuralPartialEq for VelocityObservation
Auto Trait Implementations§
impl Freeze for VelocityObservation
impl RefUnwindSafe for VelocityObservation
impl Send for VelocityObservation
impl Sync for VelocityObservation
impl Unpin for VelocityObservation
impl UnsafeUnpin for VelocityObservation
impl UnwindSafe for VelocityObservation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more