18 using namespace mvsim;
29 m_color(0xe0, 0xe0, 0xe0, 0xff),
44 params[
"floating_focus"] =
86 World::VehicleList::const_iterator it_veh =
91 "[GroundGrid] *ERROR* Cannot find vehicle named '%s' to " 97 if (it_veh == vehs.end()) it_veh = vehs.begin();
99 if (it_veh != vehs.end())
102 center_offset.
x = pose.
x;
103 center_offset.
y = pose.
y;
111 (center_offset.
x < 0 ? -1. : 1.);
114 (center_offset.
y < 0 ? -1. : 1.);
This file contains rapidxml parser and DOM implementation.
std::map< std::string, TParamEntry > TParameterDefinitions
void parse_xmlnode_children_as_param(const rapidxml::xml_node< char > &xml_node, const TParameterDefinitions ¶ms, const std::map< std::string, std::string > &variableNamesValues={}, const char *functionNameContext="")
const VehicleList & getListOfVehicles() const
std::multimap< std::string, VehicleBase::Ptr > VehicleList
virtual void loadConfigFrom(const rapidxml::xml_node< char > *root) override
void insert(const CRenderizablePtr &newObject, const std::string &viewportName=std::string("main"))
std::string m_float_center_at_vehicle_name
std::string BASE_IMPEXP format(const char *fmt,...) MRPT_printf_format_check(1
static CGridPlaneXYPtr Create(float xMin, float xMax, float yMin, float yMax, float z=0, float frequency=1, float lineWidth=1.3f, bool antiAliasing=true)
virtual void internalGuiUpdate(mrpt::opengl::COpenGLScene &scene, bool childrenOnly) override
mrpt::opengl::CGridPlaneXY::Ptr m_gl_groundgrid
mrpt::img::TColor m_color