Fawkes API  Fawkes Development Version
fawkes::ColliFastRectangle Class Reference

This is an implementation of a a fast rectangle. More...

#include <obstacle.h>

Inheritance diagram for fawkes::ColliFastRectangle:

Public Member Functions

 ColliFastRectangle (int width, int height, colli_cell_cost_t &costs)
 Constructor for FastRectangle. More...
 
- Public Member Functions inherited from fawkes::ColliFastObstacle
const std::vector< int > get_obstacle ()
 Return the occupied cells with their values. More...
 
int get_key ()
 Get the key. More...
 
void set_key (int key)
 Set key. More...
 

Additional Inherited Members

- Protected Attributes inherited from fawkes::ColliFastObstacle
std::vector< int > occupied_cells_
 Aligned array of the occ cells, size is dividable through 3, because: [i] = x coord, [i+1] = y coord, [i+2] = costs. More...
 

Detailed Description

This is an implementation of a a fast rectangle.

Definition at line 87 of file obstacle.h.

Constructor & Destructor Documentation

◆ ColliFastRectangle()

fawkes::ColliFastRectangle::ColliFastRectangle ( int  width,
int  height,
colli_cell_cost_t costs 
)
inline

Constructor for FastRectangle.

Parameters
widthradius width of the new rectangle
heightradius height of the new rectangle
costsstruct containing the occ-grid cell costs

Definition at line 109 of file obstacle.h.

References fawkes::colli_cell_cost_t::far, fawkes::colli_cell_cost_t::mid, fawkes::colli_cell_cost_t::near, fawkes::colli_cell_cost_t::occ, and fawkes::ColliFastObstacle::occupied_cells_.


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