Nav2 Navigation Stack - kilted  kilted
ROS 2 Navigation Stack
Public Member Functions | List of all members
nav2_constrained_smoother::Smoother Class Reference

Public Member Functions

 Smoother ()
 A constructor for nav2_smac_planner::Smoother.
 
 ~Smoother ()
 A destructor for nav2_smac_planner::Smoother.
 
void initialize (const OptimizerParams params)
 Initialization of the smoother. More...
 
bool smooth (std::vector< Eigen::Vector3d > &path, const Eigen::Vector2d &start_dir, const Eigen::Vector2d &end_dir, const nav2_costmap_2d::Costmap2D *costmap, const SmootherParams &params)
 Smoother method. More...
 

Detailed Description

Definition at line 43 of file smoother.hpp.

Member Function Documentation

◆ initialize()

void nav2_constrained_smoother::Smoother::initialize ( const OptimizerParams  params)
inline

Initialization of the smoother.

Parameters
paramsOptimizerParam struct

Definition at line 60 of file smoother.hpp.

◆ smooth()

bool nav2_constrained_smoother::Smoother::smooth ( std::vector< Eigen::Vector3d > &  path,
const Eigen::Vector2d &  start_dir,
const Eigen::Vector2d &  end_dir,
const nav2_costmap_2d::Costmap2D costmap,
const SmootherParams params 
)
inline

Smoother method.

Parameters
pathReference to path
start_dirOrientation of the first pose
end_dirOrientation of the last pose
costmapPointer to minimal costmap
paramsparameters weights
Returns
If smoothing was successful

Definition at line 89 of file smoother.hpp.


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