Nav2 Navigation Stack - humble  humble
ROS 2 Navigation Stack
Public Member Functions | Protected Attributes | List of all members
nav2_costmap_2d::FootprintCollisionChecker< CostmapT > Class Template Reference

Checker for collision with a footprint on a costmap. More...

#include <nav2_costmap_2d/include/nav2_costmap_2d/footprint_collision_checker.hpp>

Public Member Functions

 FootprintCollisionChecker ()
 A constructor.
 
 FootprintCollisionChecker (CostmapT costmap)
 A constructor.
 
double footprintCost (const Footprint footprint)
 Find the footprint cost in oriented footprint.
 
double footprintCostAtPose (double x, double y, double theta, const Footprint footprint)
 Find the footprint cost a a post with an unoriented footprint.
 
double lineCost (int x0, int x1, int y0, int y1) const
 Get the cost for a line segment.
 
bool worldToMap (double wx, double wy, unsigned int &mx, unsigned int &my)
 Get the map coordinates from a world point.
 
double pointCost (int x, int y) const
 Get the cost of a point.
 
void setCostmap (CostmapT costmap)
 Set the current costmap object to use for collision detection.
 
CostmapT getCostmap ()
 Get the current costmap object.
 

Protected Attributes

CostmapT costmap_
 

Detailed Description

template<typename CostmapT>
class nav2_costmap_2d::FootprintCollisionChecker< CostmapT >

Checker for collision with a footprint on a costmap.

Definition at line 40 of file footprint_collision_checker.hpp.


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