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;
Forward declarations for the common classes.
Definition: Animation.hh:26
default namespace for gazebo
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:94
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:303