Public Member Functions | Protected Attributes
nav_core2::BasicCostmap Class Reference

#include <basic_costmap.h>

Inheritance diagram for nav_core2::BasicCostmap:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 44 of file basic_costmap.h.


Member Function Documentation

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.


Member Data Documentation

std::vector<unsigned char> nav_core2::BasicCostmap::data_ [protected]

Definition at line 64 of file basic_costmap.h.

Definition at line 63 of file basic_costmap.h.


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


nav_core2
Author(s):
autogenerated on Wed Jun 26 2019 20:09:31