Go to the documentation of this file.
27 #include <boost/any.hpp>
33 #include "gazebo/msgs/MessageTypes.hh"
42 #define MAX_JOINT_AXIS 2
122 public:
virtual void Init();
132 public:
virtual void Reset();
161 public:
virtual void Detach();
172 public:
virtual void SetDamping(
int _index,
double _damping) = 0;
180 public:
template<
typename T>
182 {
return jointUpdate.
Connect(_subscriber);}
202 public:
virtual void SetAnchor(
int _index,
251 public:
virtual void SetVelocity(
int _index,
double _vel) = 0;
256 public:
virtual double GetVelocity(
int _index)
const = 0;
266 public:
virtual void SetForce(
int _index,
double _force);
288 public:
virtual double GetForce(
unsigned int _index);
317 public:
virtual void SetMaxForce(
int _index,
double _force) = 0;
327 public:
virtual double GetMaxForce(
int _index) = 0;
370 unsigned int _index)
const = 0;
377 public:
virtual void SetAttribute(
const std::string &_key,
int _index,
378 const boost::any &_value) = 0;
384 public:
virtual double GetAttribute(
const std::string &_key,
385 unsigned int _index) = 0;
397 public:
void FillMsg(msgs::Joint &_msg);
413 gzwarn <<
"requesting lower limit of joint index out of bound\n";
426 gzwarn <<
"requesting upper limit of joint index out of bound\n";
437 private:
void LoadImpl(
const math::Pose &_pose);
447 private:
void ComputeInertiaRatio();