GlobalPlannerResult Struct Reference

#include <armarx/navigation/global_planning/GlobalPlanner.h>

Classes

struct  SmoothingOutcome
 Why the position smoothing stage ended the way it did. More...
 

Public Attributes

core::Positions gridPath {}
 The raw path as it came out of the grid search, before resampling, smoothing and orientation optimization.
 
std::optional< core::GlobalTrajectory > helperTrajectory
 Optional helper trajectory that can be used for visualization or debugging purposes.
 
bool positionSmoothingApplied {false}
 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::GlobalTrajectory trajectory
 

Member Data Documentation

◆ gridPath

core::Positions gridPath {}

The raw path as it came out of the grid search, before resampling, smoothing and orientation optimization.

Cell centres, so it is a staircase. For visualization and debugging only; empty for planners that do not search a grid.

◆ helperTrajectory

std::optional<core::GlobalTrajectory> helperTrajectory

Optional helper trajectory that can be used for visualization or debugging purposes.

It is not meant to be executed by the robot. This can be helpful when using some indermediate trajectory representations for the planning that should also be visualized.

◆ positionSmoothingApplied

bool positionSmoothingApplied {false}

Whether the position smoothing stage ran and its result was adopted.

False when the stage was disabled, or when it produced a trajectory that still had collisions and the unsmoothed path was kept instead — which is not otherwise visible in the result.

◆ smoothingOutcome

SmoothingOutcome smoothingOutcome {}

◆ timings

std::map<std::string, float> timings {}

Wall-clock duration [s] of each stage of the planning pipeline, keyed by stage name.

Empty for planners that are not instrumented.

◆ trajectory


The documentation for this struct was generated from the following file: