165 const std::string& vizLayerNamePrefix =
"global_planner_debug") {
core::GeneralConfig generalConfig
GlobalPlanner(const core::GeneralConfig &generalConfig, const core::Scene &scene)
const core::Scene & scene
virtual ~GlobalPlanner()=default
virtual std::optional< GlobalPlannerResult > plan(const core::Pose &goal)=0
virtual void visualizeDebugInfo(viz::Client &vizClient, const std::string &vizLayerNamePrefix="global_planner_debug")
virtual std::optional< GlobalPlannerResult > plan(const core::Pose &start, const core::Pose &goal)=0
std::shared_ptr< Dict > DictPtr
std::vector< Position > Positions
This file is part of ArmarX.
std::shared_ptr< GlobalPlanner > GlobalPlannerPtr
Parameters for GlobalPlanner.
virtual ~GlobalPlannerParams()=default
virtual Algorithms algorithm() const =0
virtual aron::data::DictPtr toAron() const =0
Why the position smoothing stage ended the way it did.
std::size_t repairedWaypoints
Waypoints dropped to repair a fold.
float inputSharpestTurnDeg
Sharpest direction change [deg] in the trajectory handed to the smoother.
bool ran
The stage ran at all (i.e. was enabled and the trajectory was long enough).
std::size_t endpointCollisions
Of those, how many were at a commanded endpoint or on the segment adjoining it.
float worstCollisionClearance
Worst clearance found at any violating sample [mm].
bool judgedAgainstInput
The input was already inside the limit, so the result was judged against it.
std::size_t collisions
Number of places the rejected smoothed path fell below the clearance.
bool geometryValid
The smoothed path was free of folds and degenerate segments.
bool collisionFree
The smoothed path passed the collision check.
float inputMinClearance
Smallest clearance [mm] on the path handed to the smoother, and on its result.
bool positionSmoothingApplied
Whether the position smoothing stage ran and its result was adopted.
SmoothingOutcome smoothingOutcome
std::map< std::string, float > timings
Wall-clock duration [s] of each stage of the planning pipeline, keyed by stage name.
core::Positions gridPath
The raw path as it came out of the grid search, before resampling, smoothing and orientation optimiza...
core::GlobalTrajectory trajectory
std::optional< core::GlobalTrajectory > helperTrajectory
Optional helper trajectory that can be used for visualization or debugging purposes.