47 #ifndef _MIRA_WRENCH_H_ 48 #define _MIRA_WRENCH_H_ 54 namespace mira {
namespace robot {
62 template <
typename ScalarType>
69 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
86 template<
typename Reflector>
89 r.property(
"Force",
force,
"The force");
90 r.property(
"Torque",
torque,
"The torque");
103 template <
typename ScalarType>
110 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
127 template<
typename Reflector>
130 r.property(
"Force",
force,
"The force");
131 r.property(
"Torque",
torque,
"The torque");
153 template<
typename ScalarType>
165 template<
typename ScalarType>
void reflect(Reflector &r)
Definition: Wrench.h:87
Wrench class.
Definition: Wrench.h:63
Wrench3< float > Wrench3f
3D Wrench
Definition: Wrench.h:179
VectorType torque
The torque.
Definition: Wrench.h:140
VectorType force
The force.
Definition: Wrench.h:138
Wrench2< double > Wrench2d
Definition: Wrench.h:176
Wrench3< ScalarType > operator*(const Pose3 &trans, const Wrench3< ScalarType > &w)
The * operator simply rotates the vectors of force and torque into another frame. ...
Definition: Wrench.h:154
void reflect(Reflector &r)
Definition: Wrench.h:128
Wrench2< float > Wrench2f
2D Wrench
Definition: Wrench.h:175
Wrench3< double > Wrench3d
Definition: Wrench.h:180
Wrench2()
Definition: Wrench.h:74
ScalarType torque
The torque.
Definition: Wrench.h:99
VectorType force
The force.
Definition: Wrench.h:97
Wrench3< ScalarType > operator^(const Pose3 &trans, const Wrench3< ScalarType > &w)
The ^ operator applies the translation vector of the transform with the given force and computes the ...
Definition: Wrench.h:166
Wrench2(const VectorType &f, ScalarType t)
Construct a new wrench object.
Definition: Wrench.h:81
Wrench3()
Definition: Wrench.h:115
Wrench3(const VectorType &f, const VectorType &t)
Construct a new wrench object.
Definition: Wrench.h:122