26 int main(
int argc,
char** argv)
30 std::cerr <<
"to_rpy: Converts axis-magnitude to RPY notation" << std::endl;
31 std::cerr << std::endl;
32 std::cerr <<
"usage: to_rpy a b c" << std::endl;
33 std::cerr << std::endl;
36 double x = atof(argv[1]);
37 double y = atof(argv[2]);
38 double z = atof(argv[3]);
44 std::cout << x <<
", " << y <<
", " << z << std::endl;
TFSIMD_FORCE_INLINE const tfScalar & y() const
int main(int argc, char **argv)
TFSIMD_FORCE_INLINE const tfScalar & x() const
void GetRPY(double &roll, double &pitch, double &yaw) const
KDL::Rotation rotation_from_axis_magnitude(const double x, const double y, const double z)
Converts our angle-axis-with-integrated-magnitude representation to a KDL::Rotation.
TFSIMD_FORCE_INLINE const tfScalar & z() const