Examples that run
This entry gave skoro two examples that run, in the umbrella crate, each a cargo run --example target that CI runs and that fails when a check of its mathematics fails. pose_graph draws a hundred datasets from a model of poses on SE(3) and the landmarks they sight, estimates them together by Levenberg–Marquardt, and checks that the Laplace marginals at the mode contain the truth as often as they claim to, with a tolerance fixed by the statistics and the approximation's expected error before the example runs. sliding_window keeps the same model to a window of five poses over an open path, retiring the oldest at every tick into a factor linearized at the window's mode, and reports its calibration and its gap to the batch, which the mathematics does not bound.
This entry gave skoro two examples that run, in the umbrella crate, each a cargo run --example target that CI runs and that fails when a check of its mathematics fails. pose_graph draws a
hundred datasets from a model of poses on SE(3) and the landmarks they sight, estimates them
together by Levenberg–Marquardt, and checks that the Laplace marginals at the mode contain the
truth as often as they claim to, with a tolerance fixed by the statistics and the approximation’s
expected error before the example runs. sliding_window keeps the same model to a window of five
poses over an open path, retiring the oldest at every tick into a factor linearized at the window’s
mode, and reports its calibration and its gap to the batch, which the mathematics does not bound.
Writing them put into the library what a user would need too: the Levenberg–Marquardt method in skoro-linearize, with each row of a batch damped and stopped on its own, and a stop on the
decrease a step promises, which the build showed must not wait for an acceptance; the inverse step
of a layout and the observation of generated values in the core; and the rigid motions’ composition
and action on the host in skoro-spatial. The examples write the data of their figures on request,
and bin/figures draws them for the README and the guide.
Where it stands
- Mathematics
- Implementation
- Plan
- Build
- Publish
Documents
What it changed
The pages that say what this entry made true:
- A pose graph The example pose_graph, read top-down: a robot's poses and landmarks on SE(3) built tick by tick, a hundred datasets drawn from the model, estimated together by Levenberg–Marquardt, and the Laplace marginals checked for calibration against the truth.
- A sliding window The example sliding_window, read top-down: a model kept to its last few poses as a robot drives an open path, each tick appended, solved and the oldest retired with a linearized replacement, and its estimates set beside the truth and the batch.
- Steps and replacements Linearize a model's density at a point and iterate damped Gauss–Newton steps to its mode, and retire part of a model with a linearized replacement that keeps what it said, with the crate skoro-linearize, from its own tests.
- Linearization and elimination A density query is linearized at a batch of points into factored least-squares problems over its free quantities, by its residuals or by its information roots, and each problem is eliminated in square-root form on the host into a step, marginals, an evidence, draws, or a retirement's replacement; the Levenberg–Marquardt method iterates the steps to the mode.
- Queries and programs A query names what to compute from a snapshot and what is observed; compiled for a device and a precision, it becomes a program whose passes give values, tangents, gradients and Hessian-vector products in tangent charts.
- Rotations and rigid motions The crate skoro-spatial declares the rotations, the rigid motions and the extended poses as embedded types stored as quaternions up to sign, with the Cayley chart, global on each group, and declared volumes, so that they carry the normal in whatever sign their quaternions are given, and writes their maps as composites whose derivatives are the core's.
- Crates The workspace's crates, what each holds, and what each depends on.
- How skoro is developed Every change is an entry that moves through fixed stages, mathematics first and the pages last, each approved by a person before the next begins.
- Reading these docs Three tracks to read, the guide top-down, the concepts bottom-up and the mathematics in order, beside a reference to look things up in and an archive of how skoro came to be.
The crates it changed:
History
- Started at math
- Approved math
17d6a14 - Reopened math
3aad1cfThe stopping rule stopped a row only on an accepted step, so a converged row whose next gain is rounding can be rejected until its damping passes the limit. - Approved math
df80282 - Approved implementation
b874d83 - Approved plan
86cdd52 - Reopened implementation
c82510aThe method's tests ask for a gradient below 1e-6 and for modes to 1e-10 and 1e-8, which the stopping rule's tolerance of 1e-9 nats does not bound. - Approved implementation
225c466 - Approved plan
fa9b277 - Reopened implementation
20b26dcThe open path's landmarks at ±5 m with a range of 7 m leave ten landmarks never sighted, which the window requires of every one. - Approved implementation
f6f7c9d - Approved plan
ccf85b3 - Approved build
b438c8e - Approved publish
9a7ba48 - Amended archive/examples/implementation by mathematics-in-order
a7dd3d2 - Amended archive/examples/math by mathematics-in-order
a7dd3d2