AStar Class Reference

Implements the A* algorithm. More...

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

+ Inheritance diagram for AStar:

Public Types

using Params = AStarParams
 

Public Member Functions

 AStar (const Params &params, const core::GeneralConfig &generalConfig, const core::Scene &ctx)
 
std::optional< GlobalPlannerResultplan (const core::Pose &goal) override
 
std::optional< GlobalPlannerResultplan (const core::Pose &start, const core::Pose &goal) override
 
 ~AStar () override=default
 
- Public Member Functions inherited from GlobalPlanner
 GlobalPlanner (const core::GeneralConfig &generalConfig, const core::Scene &scene)
 
virtual void visualizeDebugInfo (viz::Client &vizClient, const std::string &vizLayerNamePrefix="global_planner_debug")
 
virtual ~GlobalPlanner ()=default
 

Additional Inherited Members

- Protected Attributes inherited from GlobalPlanner
core::GeneralConfig generalConfig
 
const core::Scenescene
 

Detailed Description

Implements the A* algorithm.

Definition at line 75 of file AStar.h.

Member Typedef Documentation

◆ Params

Definition at line 78 of file AStar.h.

Constructor & Destructor Documentation

◆ AStar()

AStar ( const Params & params,
const core::GeneralConfig & generalConfig,
const core::Scene & ctx )

Definition at line 72 of file AStar.cpp.

+ Here is the call graph for this function:

◆ ~AStar()

~AStar ( )
overridedefault

Member Function Documentation

◆ plan() [1/2]

std::optional< GlobalPlannerResult > plan ( const core::Pose & goal)
overridevirtual

Implements GlobalPlanner.

Definition at line 84 of file AStar.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ plan() [2/2]

std::optional< GlobalPlannerResult > plan ( const core::Pose & start,
const core::Pose & goal )
overridevirtual

Implements GlobalPlanner.

Definition at line 91 of file AStar.cpp.


The documentation for this class was generated from the following files: