34 #ifndef OPEN_WALKER_CORE_CARTESIAN_ACCELERATION_REF_H 35 #define OPEN_WALKER_CORE_CARTESIAN_ACCELERATION_REF_H 39 #include <geometry_msgs/Accel.h> 54 template <
typename _Scalar>
56 public Eigen::Matrix<_Scalar, 6, 1>
59 typedef _Scalar Scalar;
60 typedef Eigen::Matrix<Scalar, 6, 1> Base;
87 template <
typename OtherDerived>
104 using Base::operator=;
121 operator geometry_msgs::Accel()
const 123 geometry_msgs::Accel Xpp;
136 return static_cast<geometry_msgs::Accel
>(*this);
176 std::ostringstream out;
177 out << this->transpose();
184 #endif // OPEN_WALKER_CORE_CARTESIAN_ACCELERATION_REF_H geometry_msgs::Accel toAccelMsg() const
Conversion to geometry_msgs::Twist.
Definition: cartesian_acceleration.h:134
LinearAccelerationRef< const Base > linear() const
const access to linear part
Definition: cartesian_acceleration.h:150
std::string toString() const
Conversion to std::string.
Definition: cartesian_acceleration.h:174
AngularAccelerationRef< const Base > angular() const
const access to angular part
Definition: cartesian_acceleration.h:166
CartesianAcceleration(const geometry_msgs::Accel &other)
Copy constructor form geometry_msgs::Accel.
Definition: cartesian_acceleration.h:96
The CartesianAcceleration class.
Definition: cartesian_acceleration.h:55
AngularAccelerationRef< Base > angular()
access to angular part
Definition: cartesian_acceleration.h:158
The AngularAccelerationRef class.
Definition: angular_acceleration_ref.h:53
Definition: angular_acceleration.h:39
CartesianAcceleration(const Eigen::EigenBase< OtherDerived > &other)
Copy constructor.
Definition: cartesian_acceleration.h:88
void operator=(const geometry_msgs::Accel &Xpp)
Assignment form geometry_msgs::Accel.
Definition: cartesian_acceleration.h:110
CartesianAcceleration()
Default Constructor.
Definition: cartesian_acceleration.h:77
The LinearAccelerationRef class.
Definition: linear_acceleration_ref.h:52
static const CartesianAcceleration< Scalar > & Default()
Construct as Default.
Definition: cartesian_acceleration.h:67
LinearAccelerationRef< Base > linear()
access to linear part
Definition: cartesian_acceleration.h:142