38 #ifndef COSTMAP_2D_COSTMAP_LAYER_H_ 39 #define COSTMAP_2D_COSTMAP_LAYER_H_ 61 virtual void clearArea(
int start_x,
int start_y,
int end_x,
int end_y);
72 void addExtraBounds(
double mx0,
double my0,
double mx1,
double my1);
129 void touch(
double x,
double y,
double* min_x,
double* min_y,
double* max_x,
double* max_y);
143 void useExtraBounds(
double* min_x,
double* min_y,
double* max_x,
double* max_y);
151 #endif // COSTMAP_2D_COSTMAP_LAYER_H_
void updateWithOverwrite(costmap_2d::Costmap2D &master_grid, int min_i, int min_j, int max_i, int max_j)
void useExtraBounds(double *min_x, double *min_y, double *max_x, double *max_y)
void updateWithTrueOverwrite(costmap_2d::Costmap2D &master_grid, int min_i, int min_j, int max_i, int max_j)
void updateWithAddition(costmap_2d::Costmap2D &master_grid, int min_i, int min_j, int max_i, int max_j)
virtual void matchSize()
Implement this to make this layer match the size of the parent costmap.
virtual void clearArea(int start_x, int start_y, int end_x, int end_y)
void addExtraBounds(double mx0, double my0, double mx1, double my1)
void updateWithMax(costmap_2d::Costmap2D &master_grid, int min_i, int min_j, int max_i, int max_j)
A 2D costmap provides a mapping between points in the world and their associated "costs".
void touch(double x, double y, double *min_x, double *min_y, double *max_x, double *max_y)