18 #ifndef GAZEBO_PLUGINS_FOLLOWERPLUGIN_HH_
19 #define GAZEBO_PLUGINS_FOLLOWERPLUGIN_HH_
32 struct FollowerPluginPrivate;
50 public:
virtual void Init();
53 public:
virtual void Reset();
61 private:
void OnNewDepthFrame(
const float *_image,
62 const unsigned int _width,
const unsigned int _height,
63 const unsigned int _depth,
const std::string &_format);
66 private:
void OnUpdate();
74 private:
void FindJoints();
77 private:
void UpdateFollower();
80 private: std::unique_ptr<FollowerPluginPrivate> dataPtr;
default namespace for gazebo
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:93
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
A simple object follower that finds the closest object in a depth image and commands a differential d...
Definition: FollowerPlugin.hh:38
A plugin with access to physics::Model.
Definition: Plugin.hh:260
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59