18 #ifndef GZ_SENSORS_FORCETORQUESENSOR_HH_
19 #define GZ_SENSORS_FORCETORQUESENSOR_HH_
25 #include <gz/utils/SuppressWarning.hh>
27 #include <gz/math/Pose3.hh>
29 #include <gz/sensors/config.hh>
30 #include <gz/sensors/force_torque/Export.hh>
39 inline namespace GZ_SENSORS_VERSION_NAMESPACE {
42 class ForceTorqueSensorPrivate;
59 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
64 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
68 public:
virtual bool Init()
override;
76 const std::chrono::steady_clock::duration &_now)
override;
80 public: math::Vector3d
Force()
const;
85 public:
void SetForce(
const math::Vector3d &_force);
89 public: math::Vector3d
Torque()
const;
94 public:
void SetTorque(
const math::Vector3d &_torque);
105 const math::Quaterniond &_rotParentInSensor);
116 const math::Quaterniond &_rotChildInSensor);
122 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
126 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING