1 #ifndef OBJECTSPLUGIN_HPP 2 #define OBJECTSPLUGIN_HPP 6 #include <gazebo/common/common.hh> 7 #include <gazebo/gazebo.hh> 8 #include <gazebo/physics/physics.hh> 89 void Load(physics::WorldPtr _parent, sdf::ElementPtr _sdf);
99 void update_mesh(
const std::string&
name,
101 const uint32_t& identifier);
108 void world_update_callback(
const HLR::World::ConstPtr& msg);
116 void parse_off(common::Mesh* mesh, std::istream& off_stream)
const;
122 ros::NodeHandle ros_node;
128 ros::Subscriber world_updates_subscriber;
134 physics::WorldPtr world;
140 std::vector<Object> objects;
Object existing in the world This struct is used to map the objects we recieve from the worldupdate a...
Definition: ObjectsPlugin.hpp:17
uint32_t id
Id of the object Id of the object, this maps with the id's recieved from the worldupdates interface...
Definition: ObjectsPlugin.hpp:24
Definition: ObjectsPlugin.hpp:10
Plugin for loading objects in gazebo using worldupdates This function is not unit tested because it o...
Definition: ObjectsPlugin.hpp:38
std::string name
Name of the object This name is the same as in the gazebo world.
Definition: ObjectsPlugin.hpp:30