Classes | Typedefs | Functions | Variables
mvsim Namespace Reference

Classes

class  Block
 
class  ClassFactory
 
class  ControllerBaseInterface
 
class  ControllerBaseTempl
 
class  DefaultFriction
 
class  DynamicsAckermann
 
class  DynamicsAckermannDrivetrain
 
class  DynamicsDifferential
 
class  ElevationMap
 
class  FrictionBase
 
class  GroundGrid
 
class  JointXMLnode
 
class  LaserScanner
 
class  OccupancyGridMap
 
struct  PID_Controller
 
class  SensorBase
 
class  Simulable
 
struct  TParamEntry
 
struct  TSimulContext
 
struct  vec2
 
struct  vec3
 
class  VehicleBase
 
class  VisualObject
 
class  WardIagnemmaFriction
 
class  Wheel
 
class  World
 
class  WorldElementBase
 
class  XmlClassesRegistry
 

Typedefs

typedef std::shared_ptr< FrictionBaseFrictionBasePtr
 
typedef ClassFactory< FrictionBase, VehicleBase &, const rapidxml::xml_node< char > * > TClassFactory_friction
 
typedef ClassFactory< SensorBase, VehicleBase &, const rapidxml::xml_node< char > * > TClassFactory_sensors
 
typedef ClassFactory< VehicleBase, World * > TClassFactory_vehicleDynamics
 
typedef ClassFactory< WorldElementBase, World *, const rapidxml::xml_node< char > * > TClassFactory_worldElements
 

Functions

bool parse_xmlnode_as_param (const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > &params, const char *function_name_context="")
 
void parse_xmlnode_attribs (const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > &params, const char *function_name_context="")
 
void parse_xmlnode_children_as_param (const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > &params, const char *function_name_context="")
 
void parse_xmlnode_shape (const rapidxml::xml_node< char > &xml_node, mrpt::math::TPolygon2D &out_poly, const char *function_name_context="")
 
template<class NODE_LIST >
void parse_xmlnodelist_children_as_param (NODE_LIST &lst_nodes, const std::map< std::string, TParamEntry > &params, const char *function_name_context="")
 
vec3 parseXYPHI (const std::string &s, bool allow_missing_angle=false, double default_angle_radians=0.0)
 

Variables

TClassFactory_friction classFactory_friction
 
TClassFactory_sensors classFactory_sensors
 
TClassFactory_vehicleDynamics classFactory_vehicleDynamics
 
TClassFactory_worldElements classFactory_worldElements
 

Typedef Documentation

typedef std::shared_ptr<FrictionBase> mvsim::FrictionBasePtr

Definition at line 70 of file FrictionBase.h.

Definition at line 75 of file FrictionBase.h.

Definition at line 48 of file SensorBase.h.

Definition at line 293 of file VehicleBase.h.

Definition at line 39 of file WorldElementBase.h.

Function Documentation

bool mvsim::parse_xmlnode_as_param ( const rapidxml::xml_node< char > &  xml_node,
const std::map< std::string, TParamEntry > &  params,
const char *  function_name_context = "" 
)

Check whether the given XML node name matches any of the param list

Returns
false if no match found
See also
parse_xmlnode_children_as_param

Definition at line 176 of file xml_utils.cpp.

void mvsim::parse_xmlnode_attribs ( const rapidxml::xml_node< char > &  xml_node,
const std::map< std::string, TParamEntry > &  params,
const char *  function_name_context = "" 
)

Definition at line 160 of file xml_utils.cpp.

void mvsim::parse_xmlnode_children_as_param ( const rapidxml::xml_node< char > &  root,
const std::map< std::string, TParamEntry > &  params,
const char *  function_name_context = "" 
)

Call parse_xmlnode_as_param() for all children nodes of the given node.

Definition at line 196 of file xml_utils.cpp.

void mvsim::parse_xmlnode_shape ( const rapidxml::xml_node< char > &  xml_node,
mrpt::math::TPolygon2D &  out_poly,
const char *  function_name_context = "" 
)

Parses a <shape><pt>X Y</pt>...</shape> XML node into a mrpt::math::TPolygon2D

Exceptions
std::exceptionOn syntax errors, etc.

Definition at line 239 of file xml_utils.cpp.

template<class NODE_LIST >
void mvsim::parse_xmlnodelist_children_as_param ( NODE_LIST &  lst_nodes,
const std::map< std::string, TParamEntry > &  params,
const char *  function_name_context = "" 
)

Definition at line 80 of file xml_utils.h.

vec3 mvsim::parseXYPHI ( const std::string &  s,
bool  allow_missing_angle = false,
double  default_angle_radians = 0.0 
)

Parses a string like "XXX YYY PHI" with X,Y in meters, PHI in degrees, and returns a vec3 with [x,y,phi] with angle in radians. Raises an exception upon malformed string.

Definition at line 214 of file xml_utils.cpp.

Variable Documentation

TClassFactory_friction mvsim::classFactory_friction

Definition at line 18 of file FrictionBase.cpp.

TClassFactory_sensors mvsim::classFactory_sensors

Definition at line 28 of file SensorBase.cpp.

TClassFactory_vehicleDynamics mvsim::classFactory_vehicleDynamics

Definition at line 37 of file VehicleBase.cpp.

TClassFactory_worldElements mvsim::classFactory_worldElements

Definition at line 33 of file WorldElementBase.cpp.



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