#include <cstdio>#include <cstdlib>#include <vector>#include <string>#include <sstream>#include <gazebo_plugins/DeleteModel.h>#include <gazebo_plugins/SpawnModel.h>#include <gazebo_plugins/SetPose.h>#include <ros/ros.h>#include <boost/program_options.hpp>#include <gazebo_tools/urdf2gazebo.h>#include <cmath>#include <map>#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "tinystr.h"#include <boost/function.hpp>#include "link.h"#include "btMatrix3x3.h"#include "btScalar.h"#include "btMinMax.h"

Go to the source code of this file.
Functions | |
| void | convertToGazeboXML (std::string xml_string, TiXmlDocument &gazebo_model_xml, bool enforce_limits, urdf::Vector3 initial_xyz, urdf::Vector3 initial_rpy, std::string model_name, std::string robot_namespace) |
| bool | getXMLType (std::string xml_string, uint32_t &xml_type) |
| bool | getXMLType (TiXmlDocument &xml_doc, uint32_t &xml_type) |
| checks the xml document and set xml_type according to gazebo_polugins/GazeboModel.msg returns 0 if fails to determine type | |
| int | main (int argc, char **argv) |
| void | usage (const char *progname) |
| void convertToGazeboXML | ( | std::string | xml_string, | |
| TiXmlDocument & | gazebo_model_xml, | |||
| bool | enforce_limits, | |||
| urdf::Vector3 | initial_xyz, | |||
| urdf::Vector3 | initial_rpy, | |||
| std::string | model_name, | |||
| std::string | robot_namespace | |||
| ) |
STRIP DECLARATION <? ... xml version="1.0" ... ?> from xml_string
Definition at line 82 of file gazebo_model.cpp.
| bool getXMLType | ( | std::string | xml_string, | |
| uint32_t & | xml_type | |||
| ) |
Definition at line 75 of file gazebo_model.cpp.
| bool getXMLType | ( | TiXmlDocument & | xml_doc, | |
| uint32_t & | xml_type | |||
| ) |
checks the xml document and set xml_type according to gazebo_polugins/GazeboModel.msg returns 0 if fails to determine type
Definition at line 63 of file gazebo_model.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Connect to the libgazebo server
Definition at line 166 of file gazebo_model.cpp.
| void usage | ( | const char * | progname | ) |
Definition at line 52 of file gazebo_model.cpp.