Go to the documentation of this file.
25 #include <SimoxUtility/math/convert.h>
31 template <
class Qw
id = QDoubleSpinBox>
51 setOri(simox::math::quat_to_rpy(
q));
57 setOri(simox::math::mat3f_to_rpy(m));
70 setPos(simox::math::mat4f_to_pos(m));
71 setOri(simox::math::mat4f_to_rpy(m));
79 return _xyz.template get<Eigen::Vector3f>();
85 return _rpy.template get<Eigen::Vector3f>();
91 return simox::math::rpy_to_quat(
getRPY());
97 return simox::math::rpy_to_mat3f(
getRPY());
103 return simox::math::pos_rpy_to_mat4f(
getPos(),
getRPY());
139 _xyz.setMinMax(-100
'000, 100'000);
140 _rpy.setMinMax(-9, 9);
void setPose(const Eigen::Matrix4f &m)
void setXYZWidgets(Qwid *x, Qwid *y, Qwid *z)
MatrixXX< 4, 4, float > Matrix4f
void setRPYWidgets(Qwid *r, Qwid *p, Qwid *y)
Eigen::Matrix4f getMat4() const
SpinBoxToVector< Qwid, 3 > & rpyWidgets()
Eigen::Quaternionf getQuat() const
void setOri(const Eigen::Matrix3f &m)
Eigen::Vector3f getRPY() const
SpinBoxToVector< Qwid, 3 > & xyzWidgets()
Quaternion< float, 0 > Quaternionf
Eigen::Vector3f getPos() const
void setOri(const Eigen::Quaternionf &q)
Eigen::Matrix3f getMat3() const
void setPos(const Eigen::Vector3f &pos)
MatrixXX< 3, 3, float > Matrix3f
void setOri(const Eigen::Vector3f &rpy)
void setPose(const auto &pos, const auto &ori)
This file offers overloads of toIce() and fromIce() functions for STL container types.