skoro v0.0.0

Crates

skoro

The umbrella: re-exports the core and the tensor layer.

Depends on skoro-core.

skoro is the crate a user depends on. It re-exports everything skoro-core makes public, and skoro-tensor as skoro::tensor, with Device, Precision and Target at its root, so a model, a query and a target are all written against one crate.

It also holds the tests that may use the public interface alone, as a later crate would: the acceptance test of the mathematics, a sphere declared as an embedded type with its chart’s volume, and an exponential sphere whose chart is not global, a density pushed through that chart, generation and retirement, with the nodes a retirement frees and the pins that keep them, and a normal distribution private to the core’s tests. The tests of skoro-normal on those spheres live here too, with the crate as a development dependency: its density, sampler and information on a curved type, Gauss–Newton with the log-volume, its refusals, the core’s retirement replacements written with its stacked tangent, and its improper factor, retired along the bearings of two poses until it determines a landmark, binding its roles on a retirement’s factor, needing a proposal for the quantity it leaves undetermined, and read on the sphere; the declared masses of the two spheres, checked against their draws and volumes, and the uniform distribution on the exponential sphere, whose chart the normal refuses; and the hierarchical normal the guide opens on, written with sample and without it, generated, and queried with its range observed. One of its tests checks that none of the others names skoro-core or skoro-tensor directly.

Its tests also read pose graphs in g2o’s format, with the examples’ reader, and check that an estimate is the same whichever sign each measured or starting quaternion is given in, and that a loop whose closure starts on the far side of its prediction closes.

Its three examples run in CI and fail when a check of their mathematics or their convergence fails. pose_graph estimates a hundred datasets of a pose graph on SE(3)SE(3) together, by Levenberg–Marquardt, and checks that the Laplace marginals at the mode are calibrated against the truth; sliding_window filters an open path with a window of five poses, retiring the oldest at every tick into a linearized factor, checks that the number of nodes it holds stops growing, and reports its calibration and its gap to the batch; g2o reads a 3D pose graph in g2o’s format, or writes a loop that turns once, and estimates it from its vertices’ poses in whatever signs they come. They share a module of scenarios, the model tick by tick, the marginals’ statistics, the report and the reader of g2o’s format, and with SKORO_FIGURES set the first two write the data that bin/figures draws.

Reading order

skoro has no modules of its own, so there is no order to read.