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< FrictionBase > | FrictionBasePtr |
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 > ¶ms, const char *function_name_context="") |
void | parse_xmlnode_attribs (const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > ¶ms, const char *function_name_context="") |
void | parse_xmlnode_children_as_param (const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > ¶ms, 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 > ¶ms, const char *function_name_context="") |
vec3 | parseXYPHI (const std::string &s, bool allow_missing_angle=false, double default_angle_radians=0.0) |
typedef std::shared_ptr<FrictionBase> mvsim::FrictionBasePtr |
Definition at line 70 of file FrictionBase.h.
typedef ClassFactory<FrictionBase, VehicleBase&, const rapidxml::xml_node<char>*> mvsim::TClassFactory_friction |
Definition at line 75 of file FrictionBase.h.
typedef ClassFactory<SensorBase, VehicleBase&, const rapidxml::xml_node<char>*> mvsim::TClassFactory_sensors |
Definition at line 48 of file SensorBase.h.
Definition at line 293 of file VehicleBase.h.
typedef ClassFactory<WorldElementBase, World*, const rapidxml::xml_node<char>*> mvsim::TClassFactory_worldElements |
Definition at line 39 of file WorldElementBase.h.
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
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
std::exception | On syntax errors, etc. |
Definition at line 239 of file xml_utils.cpp.
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.
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.