30 #include <gazebo/common/Events.hh> 32 #include <std_msgs/String.h> 55 ROS_FATAL_STREAM(
"A ROS node for Gazebo has not been initialized, unable to load plugin. " 56 <<
"Load the Gazebo system plugin 'libgazebo_ros_api_plugin.so' in the gazebo_ros package)");
69 command.data =
"reset";
void publish(const boost::shared_ptr< M > &message) const
ROSCPP_DECL bool isInitialized()
virtual ~GazeboResetPlugin()
ros::NodeHandle * node_handle_
virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf)
ROSLIB_DECL std::string command(const std::string &cmd)
#define ROS_FATAL_STREAM(args)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
ros::Publisher publisher_