diff --git a/include/eigenpy/angle-axis.hpp b/include/eigenpy/angle-axis.hpp index d5ad5aa14c93ec81a9289d74ccb1c0530f9397fd..f7293e60a85cc19001915c694a2fe184d07e175a 100644 --- a/include/eigenpy/angle-axis.hpp +++ b/include/eigenpy/angle-axis.hpp @@ -59,7 +59,7 @@ namespace eigenpy ((bp::arg("self"),bp::arg("angle"),bp::arg("axis")), "Initialize from angle and axis.")) .def(bp::init<Matrix3> - ((bp::arg("self"),bp::arg("rotation matrix")), + ((bp::arg("self"),bp::arg("R")), "Initialize from a rotation matrix")) .def(bp::init<Quaternion>((bp::arg("self"),bp::arg("quaternion")), "Initialize from a quaternion.")) @@ -84,9 +84,9 @@ namespace eigenpy "Sets *this from a 3x3 rotation matrix", bp::return_self<>()) .def("toRotationMatrix", -// bp::arg("self"), &AngleAxis::toRotationMatrix, - "Constructs and returns an equivalent 3x3 rotation matrix.") +// bp::arg("self"), + "Constructs and returns an equivalent rotation matrix.") .def("matrix",&AngleAxis::matrix, bp::arg("self"), "Returns an equivalent rotation matrix.") diff --git a/include/eigenpy/quaternion.hpp b/include/eigenpy/quaternion.hpp index 1087180a8c7c1b8c4435f150de2702375d812b34..c53243307e839a17e3274152079e211d494eb193 100644 --- a/include/eigenpy/quaternion.hpp +++ b/include/eigenpy/quaternion.hpp @@ -171,7 +171,7 @@ namespace eigenpy "Returns an equivalent 3x3 rotation matrix. Similar to toRotationMatrix.") .def("toRotationMatrix",&Quaternion::toRotationMatrix, // bp::arg("self"), // Bug in Boost.Python - "Returns an equivalent 3x3 rotation matrix.") + "Returns an equivalent rotation matrix.") .def("setFromTwoVectors",&setFromTwoVectors,((bp::arg("self"),bp::arg("a"),bp::arg("b"))), "Set *this to be the quaternion which transforms a into b through a rotation."