Functions
helpers.hh File Reference
#include <gazebo_msgs/ModelStates.h>
#include <ros/ros.h>
#include <string>
Include dependency graph for helpers.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool ModelExists (const std::string &_name, const ros::WallDuration _timeout=ros::WallDuration(5, 0))
 Check whether a model exists on simulation. More...
 

Function Documentation

bool ModelExists ( const std::string &  _name,
const ros::WallDuration  _timeout = ros::WallDuration(5, 0) 
)

Check whether a model exists on simulation.

Parameters
[in]_nameThe model name.
[in]_timeoutMaximum timeout to wait for a model.
Returns
True when the model was found or false otherwise.

Definition at line 29 of file helpers.hh.



vmrc_gazebo
Author(s): Brian Bingham , Carlos Aguero
autogenerated on Sun Feb 17 2019 03:14:16