Go to the documentation of this file.
18 #ifndef GAZEBO_PLUGINS_FOLLOWERPLUGIN_HH_
19 #define GAZEBO_PLUGINS_FOLLOWERPLUGIN_HH_
32 struct FollowerPluginPrivate;
50 public:
virtual void Init();
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:27
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:94
default namespace for gazebo
virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf)
Load function.
~FollowerPlugin()
Destructor.
FollowerPlugin()
Constructor.
virtual void Reset()
Override this method for custom plugin reset behavior.
A plugin with access to physics::Model.
Definition: Plugin.hh:304
A simple object follower that finds the closest object in a depth image and commands a differential d...
Definition: FollowerPlugin.hh:39
virtual void Init()
Override this method for custom plugin initialization behavior.