Public Member Functions | Private Attributes
obstacle_finder::ObstacleFinder Class Reference

#include <obstacle_finder.h>

List of all members.

Public Member Functions

Obstacle nearestObstacle (costmap_2d::Costmap2DROS *new_costmap, double robot_odom_x, double robot_odom_y)
Obstacle nearestObstacle (double robot_odom_x, double robot_odom_y)
Obstacle nearestObstacle ()
 ObstacleFinder (costmap_2d::Costmap2DROS *costmap, double robot_odom_x, double robot_odom_y)

Private Attributes

costmap_2d::Costmap2DROScostmap_
double robot_odom_x_
double robot_odom_y_

Detailed Description

Definition at line 17 of file obstacle_finder.h.


Constructor & Destructor Documentation

obstacle_finder::ObstacleFinder::ObstacleFinder ( costmap_2d::Costmap2DROS costmap,
double  robot_odom_x,
double  robot_odom_y 
)

Definition at line 5 of file obstacle_finder.cpp.


Member Function Documentation

Obstacle obstacle_finder::ObstacleFinder::nearestObstacle ( costmap_2d::Costmap2DROS new_costmap,
double  robot_odom_x,
double  robot_odom_y 
)
Returns:
calculates the distance to and location of the nearest cell with LETHAL cost. Returned units are costmap cells, and in odom frame.
Parameters:
costmapthe costmap to find obstacle one
robot_odom_xneeds to be in the odom frame, in units of cells
robot_odom_yy needs to be in the odom frame, in units of cells

Definition at line 22 of file obstacle_finder.cpp.

Obstacle obstacle_finder::ObstacleFinder::nearestObstacle ( double  robot_odom_x,
double  robot_odom_y 
)

Definition at line 15 of file obstacle_finder.cpp.

Definition at line 10 of file obstacle_finder.cpp.


Member Data Documentation

Definition at line 35 of file obstacle_finder.h.

Definition at line 36 of file obstacle_finder.h.

Definition at line 37 of file obstacle_finder.h.


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


straf_recovery
Author(s):
autogenerated on Sat Jun 8 2019 20:37:23