#include <basic_costmap.h>
Public Member Functions | |
unsigned int | getIndex (const unsigned int x, const unsigned int y) const |
mutex_t * | getMutex () override |
Accessor for boost mutex. | |
unsigned char | getValue (const unsigned int x, const unsigned int y) const override |
void | reset () override |
void | setInfo (const nav_grid::NavGridInfo &new_info) override |
void | setValue (const unsigned int x, const unsigned int y, const unsigned char &value) override |
Protected Attributes | |
std::vector< unsigned char > | data_ |
mutex_t | my_mutex_ |
Definition at line 44 of file basic_costmap.h.
unsigned int nav_core2::BasicCostmap::getIndex | ( | const unsigned int | x, |
const unsigned int | y | ||
) | const |
Definition at line 45 of file basic_costmap.cpp.
mutex_t* nav_core2::BasicCostmap::getMutex | ( | ) | [inline, override, virtual] |
Accessor for boost mutex.
Implements nav_core2::Costmap.
Definition at line 48 of file basic_costmap.h.
unsigned char nav_core2::BasicCostmap::getValue | ( | const unsigned int | x, |
const unsigned int | y | ||
) | const [override, virtual] |
Implements nav_grid::NavGrid< unsigned char >.
Definition at line 50 of file basic_costmap.cpp.
void nav_core2::BasicCostmap::reset | ( | ) | [override, virtual] |
Implements nav_grid::NavGrid< unsigned char >.
Definition at line 40 of file basic_costmap.cpp.
void nav_core2::BasicCostmap::setInfo | ( | const nav_grid::NavGridInfo & | new_info | ) | [inline, override, virtual] |
Implements nav_grid::NavGrid< unsigned char >.
Definition at line 54 of file basic_costmap.h.
void nav_core2::BasicCostmap::setValue | ( | const unsigned int | x, |
const unsigned int | y, | ||
const unsigned char & | value | ||
) | [override] |
Definition at line 55 of file basic_costmap.cpp.
std::vector<unsigned char> nav_core2::BasicCostmap::data_ [protected] |
Definition at line 64 of file basic_costmap.h.
mutex_t nav_core2::BasicCostmap::my_mutex_ [protected] |
Definition at line 63 of file basic_costmap.h.