18 #ifndef _GAZEBO_LINK_CONFIG_HH_
19 #define _GAZEBO_LINK_CONFIG_HH_
23 #include <ignition/math/Pose3.hh>
51 public:
void Update(ConstLinkPtr _linkMsg);
55 public: msgs::Link *GetData()
const;
59 public:
void SetPose(
const ignition::math::Pose3d &_pose);
63 public:
void SetMass(
const double _mass);
67 public:
double Mass()
const;
71 public:
void SetDensity(
const double _density);
75 public:
double Density()
const;
84 public:
void SetInertiaMatrix(
const double _ixx,
const double _iyy,
85 const double _izz,
const double _ixy,
const double _ixz,
90 public:
void SetInertialPose(
const ignition::math::Pose3d &_pose);
100 public slots:
void RestoreOriginalData();
103 Q_SIGNALS:
void Applied();
107 Q_SIGNALS:
void DensityValueChanged(
const double _value);
111 Q_SIGNALS:
void MassValueChanged(
const double _value);
115 private slots:
void OnDensityValueChanged(
const double _value);
119 private slots:
void OnMassValueChanged(
const double _value);
125 private slots:
void OnPoseChanged(
const QString &_name,
126 const ignition::math::Pose3d &_value);
133 private: msgs::Link originalDataMsg;
A tab for configuring properties of a link.
Definition: LinkConfig.hh:39
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.