34 #ifndef OPEN_WALKER_CORE_CARTESIAN_VELOCITY_REF_H 35 #define OPEN_WALKER_CORE_CARTESIAN_VELOCITY_REF_H 39 #include <geometry_msgs/Twist.h> 54 template <
typename _Scalar>
56 public Eigen::Matrix<_Scalar, 6, 1>
59 typedef _Scalar Scalar;
60 typedef Eigen::Matrix<Scalar, 6, 1> Base;
88 template <
typename OtherDerived>
105 using Base::operator=;
122 operator geometry_msgs::Twist()
const 124 geometry_msgs::Twist Xp;
137 return static_cast<geometry_msgs::Twist
>(*this);
177 std::ostringstream out;
178 out << this->transpose();
185 #endif // OPEN_WALKER_CORE_CARTESIAN_VELOCITY_REF_H AngularVelocityRef< const Base > angular() const
const access to angular part
Definition: cartesian_velocity.h:167
CartesianVelocity()
Default Constructor.
Definition: cartesian_velocity.h:77
LinearVelocityRef< Base > linear()
access to linear part
Definition: cartesian_velocity.h:143
Definition: angular_acceleration.h:39
CartesianVelocity(const Eigen::EigenBase< OtherDerived > &other)
Copy constructor.
Definition: cartesian_velocity.h:89
LinearVelocityRef< const Base > linear() const
const access to linear part
Definition: cartesian_velocity.h:151
The LinearVelocityRef class.
Definition: linear_velocity_ref.h:52
AngularVelocityRef< Base > angular()
access to angular part
Definition: cartesian_velocity.h:159
void operator=(const geometry_msgs::Twist &Xp)
Assignment form geometry_msgs::Twist.
Definition: cartesian_velocity.h:111
CartesianVelocity(const geometry_msgs::Twist &other)
Copy constructor form geometry_msgs::Twist.
Definition: cartesian_velocity.h:97
geometry_msgs::Twist toTwistMsg() const
Conversion to geometry_msgs::Twist.
Definition: cartesian_velocity.h:135
The AngularVelocityRef class.
Definition: angular_velocity_ref.h:52
The CartesianVelocity class.
Definition: cartesian_velocity.h:55
std::string toString() const
Conversion to std::string.
Definition: cartesian_velocity.h:175
static const CartesianVelocity< Scalar > & Default()
Construct as Default.
Definition: cartesian_velocity.h:67