$search

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/urdf2gazebo.h>
Include dependency graph for gazebo_model.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
void remove_model (std::string 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 gazebo_model.cpp.

void remove_model ( std::string  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 gazebo_model.cpp.

void spawn_model ( TiXmlDocument  gazebo_model_xml  ) 

Connect to the libgazebo server

Definition at line 114 of file gazebo_model.cpp.

void usage ( const char *  progname  ) 

Definition at line 52 of file gazebo_model.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


gazebo_tools
Author(s): John Hsu
autogenerated on Sat Mar 2 13:39:36 2013