IrisNp2Options collects all parameters for the IRIS-NP2 algorithm.
#include <drake/planning/iris/iris_np2.h>
Public Member Functions | |
template<typename Archive > | |
void | Serialize (Archive *a) |
Passes this object to an Archive. More... | |
IrisNp2Options ()=default | |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
IrisNp2Options (const IrisNp2Options &)=default | |
IrisNp2Options & | operator= (const IrisNp2Options &)=default |
IrisNp2Options (IrisNp2Options &&)=default | |
IrisNp2Options & | operator= (IrisNp2Options &&)=default |
Public Attributes | |
const solvers::SolverInterface * | solver {nullptr} |
The user can specify a solver to use for the counterexample search program. More... | |
CommonSampledIrisOptions | sampled_iris_options {} |
Options common to IRIS-type algorithms. More... | |
IrisParameterizationFunction | parameterization {} |
Parameterization of the subspace along which to grow the region. More... | |
std::string | sampling_strategy {"greedy"} |
Which sampling strategy to use when growing the region. More... | |
RaySamplerOptions | ray_sampler_options |
Additional options for kRaySampler. More... | |
bool | add_hyperplane_if_solve_fails {false} |
Add a hyperplane at a particle in collision if the nonlinear solve (initialized at that point) fails. More... | |
|
default |
|
default |
|
default |
|
default |
|
default |
void Serialize | ( | Archive * | a | ) |
Passes this object to an Archive.
Refer to YAML Serialization for background. Note: This only serializes options that are YAML built-in types.
bool add_hyperplane_if_solve_fails {false} |
Add a hyperplane at a particle in collision if the nonlinear solve (initialized at that point) fails.
Generally leads to regions with more faces, but helpful for getting the algorithm unstuck if most nonlinear solves are failing.
IrisParameterizationFunction parameterization {} |
Parameterization of the subspace along which to grow the region.
Default is the identity parameterization, corresponding to growing regions in the ordinary configuration space.
RaySamplerOptions ray_sampler_options |
Additional options for kRaySampler.
Ignored if kGreedySampler is used.
CommonSampledIrisOptions sampled_iris_options {} |
Options common to IRIS-type algorithms.
std::string sampling_strategy {"greedy"} |
Which sampling strategy to use when growing the region.
Use "ray" for kRaySmpler, and "greedy" for kGreedySampler. kRaySampler finds collisions closer to the ellipsoid center in order to achieve more efficient hyperplane placement, yielding fewer hyperplanes in the resulting region, but may take more runtime than kGreedySampler.
const solvers::SolverInterface* solver {nullptr} |
The user can specify a solver to use for the counterexample search program.
If nullptr (the default value) is given, then solvers::MakeFirstAvailableSolver will be used to pick the solver.