#include <cstdio>#include <cstdlib>#include <vector>#include <string>#include <sstream>#include <gazebo/gazebo.h>#include <gazebo/GazeboError.hh>#include <gazebo/World.hh>#include <gazebo/Model.hh>#include "ros/ros.h"#include <boost/program_options.hpp>#include <gazebo_tools/urdf2gazebo.h>
Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| void | remove_model (std::string remove_model_name) |
| void | spawn_model (TiXmlDocument gazebo_model_xml) |
| void | usage (const char *progname) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
STRIP DECLARATION <? ... xml version="1.0" ... ?> from xml_string
Definition at line 171 of file spawn_gazebo_model.cpp.
| void remove_model | ( | std::string | remove_model_name | ) |
Connect to the libgazebo server
Open the Factory interface
Push model name to Iface queue for removing model
Definition at line 61 of file spawn_gazebo_model.cpp.
| void spawn_model | ( | TiXmlDocument | gazebo_model_xml | ) |
Connect to the libgazebo server
Definition at line 114 of file spawn_gazebo_model.cpp.
| void usage | ( | const char * | progname | ) |
Definition at line 52 of file spawn_gazebo_model.cpp.