1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//! # Robust planning
//!
//! Planning over reachable sets under uncertainty: Robust-RRT and reachability-guided search.
//!
//! Every check in this crate is conservative. A check that cannot prove safety answers
//! [`SafetyVerdict::Indeterminate`], never [`SafetyVerdict::Safe`], and planners reject
//! anything that is not proven safe.
//!
//! ## Building blocks
//!
//! - [`Reach`]: propagates a reachable set along one edge under one control. The crate defines
//! the trait; implementations come from the user.
//! Its optional [`Reach::certify_collision`] hook lets a model whose sets are exact turn an
//! unproven edge into [`SafetyVerdict::Unsafe`] with a [`Witness`]; [`check_edge`] runs
//! one edge check.
//! - [`Steer`]: picks the control of one edge. Implement it on the model, or pair a model
//! with a steering function through [`WithSteering`]; `sampling-planning`'s
//! [`StraightLine`](sampling_planning::StraightLine) steers models whose control is a
//! setpoint.
//! - [`Cost`]: how planners price an edge: the nominal length, or the length plus a weight
//! times the width of the edge's end set (a robustness-weighted cost).
//! - [`Obstacles`]: polytope obstacles, checked against reachable sets with optional
//! refinement by splitting.
//! - [`Goal`]: a goal region tested against whole reachable sets. [`PolytopeGoal`] is a
//! convex polytope in H-representation; it answers
//! [`Containment::Inside`](polyzonotope::Containment::Inside) only when the set is proven
//! inside.
//! - [`proven_within`] and [`decide_within`]: prove one set inside a zonotope in up to four
//! dimensions, through polyzonotope's set-in-polytope test on an inner
//! H-representation with rigorously rounded facets.
//! - [`ReachChecker`]: a [`sampling_planning::ValidityChecker`] that runs a [`Reach`] model
//! along each motion, so `sampling-planning`'s planners only accept proven-safe edges.
//! - [`RobustRrt`]: an RRT whose nodes carry the reachable set they are reached with.
//! - [`RobustRrtStar`]: the RRT* variant of [`RobustRrt`]. Choose-parent and rewiring accept
//! only proven-safe edges, and a rewire re-propagates and re-proves the whole moved
//! subtree before it commits.
//! - [`ReachSearch`]: A* over reachable-set nodes along a fixed set of motion primitives,
//! expanding only proven-safe edges, with deduplication on a lattice of nominal states.
//!
//! ## The `sound` feature
//!
//! Without `sound`, polyzonotope computes in plain `f64`, so [`SafetyVerdict::Safe`] means
//! "safe up to floating-point rounding". Only with `sound` (outward rounding) is it a proof.
//! See `docs/design.md`.
//!
//! Repository: <https://github.com/sunsided/robust-planning>
pub use ReachChecker;
pub use ;
pub use Cost;
pub use ;
pub use Node;
pub use Obstacles;
pub use ;
pub use RobustRrt;
pub use RobustRrtStar;
pub use ReachSearch;
pub use ;
pub use ;
pub use polyzonotope;
pub use sampling_planning;