Skip to content

Commit a2edcc3

Browse files
committed
geom: tiny fixes
1 parent 1c58c53 commit a2edcc3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/eigenpy/angle-axis.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace eigenpy
5959
((bp::arg("self"),bp::arg("angle"),bp::arg("axis")),
6060
"Initialize from angle and axis."))
6161
.def(bp::init<Matrix3>
62-
((bp::arg("self"),bp::arg("rotation matrix")),
62+
((bp::arg("self"),bp::arg("R")),
6363
"Initialize from a rotation matrix"))
6464
.def(bp::init<Quaternion>((bp::arg("self"),bp::arg("quaternion")),
6565
"Initialize from a quaternion."))
@@ -84,9 +84,9 @@ namespace eigenpy
8484
"Sets *this from a 3x3 rotation matrix",
8585
bp::return_self<>())
8686
.def("toRotationMatrix",
87-
// bp::arg("self"),
8887
&AngleAxis::toRotationMatrix,
89-
"Constructs and returns an equivalent 3x3 rotation matrix.")
88+
// bp::arg("self"),
89+
"Constructs and returns an equivalent rotation matrix.")
9090
.def("matrix",&AngleAxis::matrix,
9191
bp::arg("self"),
9292
"Returns an equivalent rotation matrix.")

include/eigenpy/quaternion.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ namespace eigenpy
171171
"Returns an equivalent 3x3 rotation matrix. Similar to toRotationMatrix.")
172172
.def("toRotationMatrix",&Quaternion::toRotationMatrix,
173173
// bp::arg("self"), // Bug in Boost.Python
174-
"Returns an equivalent 3x3 rotation matrix.")
174+
"Returns an equivalent rotation matrix.")
175175

176176
.def("setFromTwoVectors",&setFromTwoVectors,((bp::arg("self"),bp::arg("a"),bp::arg("b"))),
177177
"Set *this to be the quaternion which transforms a into b through a rotation."

0 commit comments

Comments
 (0)