17 #ifndef GAZEBO_PLUGINS_HARNESSPLUGIN_HH_ 18 #define GAZEBO_PLUGINS_HARNESSPLUGIN_HH_ 63 public:
virtual void Init();
67 public:
void SetWinchVelocity(
const float _value);
71 public:
double WinchVelocity()
const;
75 public:
void Detach();
83 private:
void OnVelocity(ConstGzStringPtr &_msg);
87 private:
void OnDetach(ConstGzStringPtr &_msg);
92 private:
int JointIndex(
const std::string &_name)
const;
95 private: std::vector<physics::JointPtr> joints;
98 private:
int winchIndex = 0;
101 private:
int detachIndex = 0;
110 private:
float winchTargetPos = 0.0;
113 private:
float winchTargetVel = 0.0;
Forward declarations for the common classes.
Definition: Animation.hh:33
Forward declarations for transport.
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
Information for use in an update event.
Definition: UpdateInfo.hh:30
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
This plugin is designed to lower a model at a controlled rate.
Definition: HarnessPlugin.hh:51
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:88
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
A plugin with access to physics::Model.
Definition: Plugin.hh:245
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59
Generic PID controller class.
Definition: PID.hh:36
static const Time Zero
A static zero time variable set to common::Time(0, 0).
Definition: Time.hh:47
A Time class, can be used to hold wall- or sim-time.
Definition: Time.hh:44