Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

WnoaFactor

WnoaMotionFactor<POSE> imposes a white-noise-on-acceleration prior between two time-stamped pose/velocity states. Python provides concrete factors for Point1, Point2, Point3, Pose2, and Pose3 trajectories.

Open In Colab

Creating state metadata

Each factor connects pose and velocity keys at two times. StateData keeps those keys and timestamps together, while q_psd_diag specifies acceleration power spectral density per tangent dimension.

Motion residual

evaluateError(p0, v0, p1, v1) compares endpoint states with the constant-velocity trajectory implied by WNOA. A one-second unit-x motion with equal endpoint velocities has zero residual.

Other wrapped state spaces

Choose WnoaMotionFactorPoint1, WnoaMotionFactorPoint2, WnoaMotionFactorPoint3, WnoaMotionFactorPose2, or WnoaMotionFactorPose3 to match the stored pose type. The velocity dimension matches that pose’s tangent dimension. Insert the factor into a NonlinearFactorGraph like any other noise-model factor.

Source

WnoaFactor.h

AI assistance caveat

AI was used to help draft this documentation, and inaccuracies could be present.