skoro v0.0.0

Crates

skoro-spatial

The rotations, rigid motions and extended poses, and their maps.

Depends on skoro-core.

skoro-spatial gives skoro its rotations and rigid motions, a crate built on the core’s public interface alone. It declares three embedded types, the groups themselves: Rotation, the rotations SO(3)SO(3); Pose, a rotation and a position; and ExtendedPose, a rotation, a velocity and a position. Each is stored as a unit quaternion and its translations, up to the sign of the quaternion, which the core checks it carries; each has the Cayley chart in the rotation, global on the group and the same for either sign, moves the translations in the point’s own frame, and declares its volume against Haar measure, so that a quantity of any of them is scored by the normal, observed in whatever sign it is given, and simulated like any other. The rotations also declare the mass of Haar measure, 8π28\pi^2, with Shoemake’s draw of a uniform rotation, so that a rotation of which nothing is known is given the uniform distribution; the poses, whose translations fill space, have infinite mass.

Its maps are composites of the core’s operations, with no kernel and no derivative of their own, and each is a map of the groups, the same whichever sign its inputs are stored in: * composes and acts on vectors; the extension traits RotationMaps, PoseMaps and ExtendedPoseMaps give the inverses, relative motions, matrices, adjoints, logarithms and interpolations of the shorter turn, and the parts of a handle; and the free functions of rotation, pose, extended_pose and so3 make them from rotation vectors and twists, axes and angles, pairs of directions, Euler angles and matrices, with the Jacobians of the exponentials and their inverses. The removable singularities at the identity are computed by series below a cutoff, one for every precision and device, high enough for a GPU’s sine. Euler angles, in all twelve conventions, are compared on the circle by angle_residual. host does the same conversions in double precision for the values a model is given, composes and applies rigid motions as the graph does, for a start computed from the measurements, and chooses the quaternion with w≥0w \ge 0 to report.

Reading order

The modules in an order that uses as little as possible before it is read, computed from the sources when the site was built. A dashed arc marks a module's use of one that comes later, with what it uses named beside it.

uses an earlier module uses a later module a cycle (3 modules)
The order in which to read skoro-spatialpose uses algebra: conjugate(), dot(), hat(), matrix(), mul(), one(), rotate(), unrotate(), zero()extended uses types: ExtendedPose, Pose, Rotationpose uses series: Coefficient, coefficient()so3 uses algebra: dot(), entry(), hat()pose uses types: Pose, Rotationrotation uses algebra: choose(), conjugate(), cross(), dot(), entry(), matrix(), mul(), norm(), normalize(), one(), parts(), quaternion(), reciprocal(), rotate(), sqrt(), unrotate(), zero()so3 uses series: Coefficient, coefficient()rotation uses series: Coefficient, coefficient(), log_ratio()euler uses algebra: choose(), entry(), mul(), one(), quaternion(), real(), sqrt(), zero()extended uses rotation: composite()rotation uses types: Rotationeuler uses rotation: composite_with(), onto(), rotation_space(), stored()pose uses rotation: composite(), exp_stored(), log_stored(), shorter(), slerp_stored()rotation uses euler: Axis, Euler, euler(), from_euler()types uses algebra: cayley(), cayley_inverse(), conjugate(), mul(), normalize(), rotate(), unrotate()euler uses host: compose()euler uses types: Rotationextended uses pose: adjoint_stored(), between_stored(), compose_stored(), exp_motion_stored(), interpolate_stored(), inverse_stored(), jl_inv_motion_stored(), jl_motion_stored(), join(), log_motion_stored(), matrix_stored()host uses euler: Euler, euler_on_host(), from_euler_on_host()pose uses so3: jl_inv_stored(), jl_stored()series uses algebra: both(), choose(), one(), reciprocal(), sqrt()so3 uses rotation: composite()1algebra2series3types4eulercompose() · composite_with(), onto(), rotation_space(), stored()5host6rotation7so38pose9extended

Hover over or tap a module to see everything it uses and everything that uses it.

2 uses of a later module, naming 5 items: as few as any order allows.
ModuleUses, before it is readFrom
eulercompose()host
eulercomposite_with(), onto(), rotation_space(), stored()rotation