Expand description
§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. Implement it for your dynamics, or enable thereachfeature for the models inmodels, built on polyzonotope-reach. Its optionalReach::certify_collisionhook lets a model whose sets are exact turn an unproven edge intoSafetyVerdict::Unsafewith aWitness;check_edgeruns one edge check.Steer: picks the control of one edge. Implement it on the model, or pair a model with a steering function throughWithSteering;sampling-planning’sStraightLinesteers 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.PolytopeGoalis a convex polytope in H-representation; it answersContainment::Insideonly when the set is proven inside.proven_withinanddecide_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: asampling_planning::ValidityCheckerthat runs aReachmodel along each motion, sosampling-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 ofRobustRrt. 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
Re-exports§
pub use containment::decide_within;pub use containment::proven_within;pub use robust_rrt::RobustRrt;pub use robust_rrt_star::RobustRrtStar;pub use search::ReachSearch;pub use polyzonotope;pub use polyzonotope_reach;pub use sampling_planning;
Modules§
- containment
- Proven set-in-set containment: a set inside a zonotope, built on polyzonotope’s set-in-polytope test.
- models
Reachmodels onpolyzonotope-reach: validated reachable sets of continuous-time dynamics. Needs thereachfeature.- robust_
rrt - Robust-RRT: an RRT whose nodes carry the reachable set they are reached with.
- robust_
rrt_ star - Robust RRT*: an RRT* whose nodes carry the reachable set they are reached with.
- search
- Reachability-guided search: A* over reachable-set nodes on a lattice of nominal states.
Structs§
- Node
- A node of a planner tree: a nominal state, the reachable set there and the edge from its parent.
- Obstacles
- A set of convex polytope obstacles, checked against reachable sets.
- Polytope
Goal - A convex polytope goal in H-representation,
{ x | aᵢᵀ x <= dᵢ for every facet i }. - Reach
Checker - Checks states and motions of
sampling-planning’s planners with reachable sets. - With
Steering - A reachability model paired with a separate steering function.
- Witness
- A certified collision: a state the real system reaches that lies in an obstacle.
Enums§
- Cost
- How a planner prices one edge.
- Safety
Verdict - The result of a conservative safety check.
Traits§
- Goal
- A goal region that whole reachable sets are tested against.
- Reach
- Over-approximates the reachable set of a system along one edge.
- Steer
- Picks the control of type
Cthat moves a nominal state toward a target.
Functions§
- check_
edge - Propagates
initialundercontroland checks the cover againstobstacles.