Classes | Public Member Functions | Protected Attributes | List of all members
mvsim::OccupancyGridMap Class Reference

#include <OccupancyGridMap.h>

Inheritance diagram for mvsim::OccupancyGridMap:
Inheritance graph
[legend]

Classes

struct  TFixturePtr
 
struct  TInfoPerCollidableobj
 

Public Member Functions

const COccupancyGridMap2D & getOccGrid () const
 
COccupancyGridMap2D & getOccGrid ()
 
virtual void gui_update (mrpt::opengl::COpenGLScene &scene)
 See docs in base class. More...
 
virtual void loadConfigFrom (const rapidxml::xml_node< char > *root)
 See docs in base class. More...
 
 OccupancyGridMap (World *parent, const rapidxml::xml_node< char > *root)
 
virtual void simul_pre_timestep (const TSimulContext &context)
 See docs in base class. More...
 
virtual ~OccupancyGridMap ()
 
- Public Member Functions inherited from mvsim::WorldElementBase
 WorldElementBase (World *parent)
 
virtual ~WorldElementBase ()
 
- Public Member Functions inherited from mvsim::VisualObject
WorldgetWorldObject ()
 
const WorldgetWorldObject () const
 
 VisualObject (World *parent)
 
virtual ~VisualObject ()
 
- Public Member Functions inherited from mvsim::Simulable
virtual void apply_force (double fx, double fy, double local_ptx=0.0, double local_pty=0.0)
 
virtual void simul_post_timestep (const TSimulContext &context)
 

Protected Attributes

mrpt::opengl::CSetOfObjects::Ptr m_gl_grid
 call of gui_update() More...
 
std::vector< mrpt::opengl::CSetOfObjects::Ptr > m_gl_obs_clouds
 
std::vector< mrpt::opengl::CPointCloud::Ptr > m_gl_obs_clouds_buffer
 
std::mutex m_gl_obs_clouds_buffer_cs
 
COccupancyGridMap2D m_grid
 
bool m_gui_uptodate
 
double m_lateral_friction
 (Default: 0.5) More...
 
std::vector< TInfoPerCollidableobjm_obstacles_for_each_obj
 
double m_restitution
 Elastic restitution coef (default: 0.01) More...
 
bool m_show_grid_collision_points
 
CSinCosLookUpTableFor2DScans m_sincos_lut
 
- Protected Attributes inherited from mvsim::VisualObject
Worldm_world
 

Additional Inherited Members

- Static Public Member Functions inherited from mvsim::WorldElementBase
static WorldElementBasefactory (World *parent, const rapidxml::xml_node< char > *xml_node, const char *class_name=NULL)
 

Detailed Description

Definition at line 34 of file OccupancyGridMap.h.

Constructor & Destructor Documentation

OccupancyGridMap::OccupancyGridMap ( World parent,
const rapidxml::xml_node< char > *  root 
)

Definition at line 38 of file OccupancyGridMap.cpp.

OccupancyGridMap::~OccupancyGridMap ( )
virtual

Definition at line 49 of file OccupancyGridMap.cpp.

Member Function Documentation

const COccupancyGridMap2D& mvsim::OccupancyGridMap::getOccGrid ( ) const
inline

Definition at line 49 of file OccupancyGridMap.h.

COccupancyGridMap2D& mvsim::OccupancyGridMap::getOccGrid ( )
inline

Definition at line 50 of file OccupancyGridMap.h.

void OccupancyGridMap::gui_update ( mrpt::opengl::COpenGLScene &  scene)
virtual

See docs in base class.

Implements mvsim::VisualObject.

Definition at line 114 of file OccupancyGridMap.cpp.

void OccupancyGridMap::loadConfigFrom ( const rapidxml::xml_node< char > *  root)
virtual

See docs in base class.

Implements mvsim::WorldElementBase.

Definition at line 50 of file OccupancyGridMap.cpp.

void OccupancyGridMap::simul_pre_timestep ( const TSimulContext context)
virtual

See docs in base class.

Reimplemented from mvsim::Simulable.

Definition at line 161 of file OccupancyGridMap.cpp.

Member Data Documentation

mrpt::opengl::CSetOfObjects::Ptr mvsim::OccupancyGridMap::m_gl_grid
protected

call of gui_update()

Definition at line 56 of file OccupancyGridMap.h.

std::vector<mrpt::opengl::CSetOfObjects::Ptr> mvsim::OccupancyGridMap::m_gl_obs_clouds
protected

Definition at line 76 of file OccupancyGridMap.h.

std::vector<mrpt::opengl::CPointCloud::Ptr> mvsim::OccupancyGridMap::m_gl_obs_clouds_buffer
protected

Definition at line 79 of file OccupancyGridMap.h.

std::mutex mvsim::OccupancyGridMap::m_gl_obs_clouds_buffer_cs
protected

Definition at line 78 of file OccupancyGridMap.h.

COccupancyGridMap2D mvsim::OccupancyGridMap::m_grid
protected

Definition at line 52 of file OccupancyGridMap.h.

bool mvsim::OccupancyGridMap::m_gui_uptodate
protected

Whether m_gl_grid has to be updated upon next

Definition at line 54 of file OccupancyGridMap.h.

double mvsim::OccupancyGridMap::m_lateral_friction
protected

(Default: 0.5)

Definition at line 85 of file OccupancyGridMap.h.

std::vector<TInfoPerCollidableobj> mvsim::OccupancyGridMap::m_obstacles_for_each_obj
protected

Definition at line 75 of file OccupancyGridMap.h.

double mvsim::OccupancyGridMap::m_restitution
protected

Elastic restitution coef (default: 0.01)

Definition at line 84 of file OccupancyGridMap.h.

bool mvsim::OccupancyGridMap::m_show_grid_collision_points
protected

Definition at line 83 of file OccupancyGridMap.h.

CSinCosLookUpTableFor2DScans mvsim::OccupancyGridMap::m_sincos_lut
protected

Definition at line 81 of file OccupancyGridMap.h.


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


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:41