34 #ifndef OPEN_WALKER_CORE_WRENCH_REF_H    35 #define OPEN_WALKER_CORE_WRENCH_REF_H    37 #include <geometry_msgs/Wrench.h>    55 template <
typename _Scalar>
    57     public Eigen::Matrix<_Scalar, 6, 1>
    60   typedef _Scalar Scalar;
    61   typedef Eigen::Matrix<Scalar, 6, 1> Base;
    70     static const Wrench v = Base::Zero();
    88   template <
typename OtherDerived>
    89   Wrench(
const Eigen::EigenBase<OtherDerived>& other) :
    97   explicit Wrench(
const geometry_msgs::Wrench& other)
   105   using Base::operator=;
   122   operator geometry_msgs::Wrench()
 const   124     geometry_msgs::Wrench W;
   137     return static_cast<geometry_msgs::Wrench
>(*this);
   177     std::ostringstream out;
   178     out << this->transpose();
   185 #endif  // OPEN_WALKER_CORE_WRENCH_REF_H MomentRef< Base > moment()
access to angular part 
Definition: wrench.h:159
The MomentRef class. 
Definition: moment_ref.h:52
Wrench()
Default Constructor. 
Definition: wrench.h:78
geometry_msgs::Wrench toWrenchMsg() const 
Conversion to geometry_msgs::Twist. 
Definition: wrench.h:135
std::string toString() const 
Conversion to std::string. 
Definition: wrench.h:175
ForceRef< const Base > force() const 
const access to linear part 
Definition: wrench.h:151
ForceRef< Base > force()
access to linear part 
Definition: wrench.h:143
Wrench(const geometry_msgs::Wrench &other)
Copy constructor form geometry_msgs::Wrench. 
Definition: wrench.h:97
The ForceRef class. 
Definition: force_ref.h:52
Definition: angular_acceleration.h:39
static const Wrench & Default()
Construct as Default. 
Definition: wrench.h:68
void operator=(const geometry_msgs::Wrench &W)
Assignment form geometry_msgs::Wrench. 
Definition: wrench.h:111
MomentRef< const Base > moment() const 
const access to angular part 
Definition: wrench.h:167
Wrench(const Eigen::EigenBase< OtherDerived > &other)
Copy constructor. 
Definition: wrench.h:89
The Wrench class. 
Definition: wrench.h:56