spawn_gazebo_model.cpp File Reference

#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>
Include dependency graph for spawn_gazebo_model.cpp:

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)

Function Documentation

int main ( int  argc,
char **  argv 
)

STRIP DECLARATION <? ... xml version="1.0" ... ?> from xml_string

Todo:
: does tinyxml have functionality for this?
Todo:
: should gazebo take care of the declaration?

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.

 All Classes Namespaces Files Functions Variables


gazebo_tools
Author(s): John Hsu
autogenerated on Fri Jan 11 09:40:43 2013