12 std::cout << std::setprecision(5) << std::fixed;
13 for (
int i = 0; i < 8; ++i)
15 for (
int j = 0; j < 6; ++j)
16 std::cout << sols[i * 6 + j] <<
" ";
23 const auto abb2400 = opw_kinematics::makeIrb2400_10<double>();
26 pose.translation() = Eigen::Vector3d(0.7, 0.2, 0);
28 std::array<double, 6 * 8> sols;
33 for (
int i = 0; i < 8; ++i)
40 for (
int i = 0; i < 8; ++i)
void printResults(const std::array< double, 6 *8 > &sols)
bool isValid(const T *qs)
void harmonizeTowardZero(T *qs)
Eigen::Transform< T, 3, Eigen::Isometry > Transform
void inverse(const Parameters< T > ¶ms, const Transform< T > &pose, T *out) noexcept
Computes up to 8 kinematically unique joint solutions that put the tool flange of the robot described...
Transform< T > forward(const Parameters< T > &p, const T *qs) noexcept
Computes the tool pose of the robot described by when said robot has the joint positions given by qs...