Skip to content
Snippets Groups Projects
Commit 5170c96b authored by jcarpent's avatar jcarpent
Browse files

[Python] Expose to{Dual}ActionMatrix for Motion class

parent 7672ce5b
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,9 @@ namespace se3
.def("se3ActionInverse",&Motion::se3ActionInverse,
bp::args("M"),"Returns the result of the action of the inverse of M on *this.")
.add_property("action",&Motion::toActionMatrix,"Returns the action matrix of *this (acting on Motion).")
.add_property("dualAction",&Motion::toDualActionMatrix,"Returns the dual action matrix of *this (acting on Force).")
.def("setZero",&MotionPythonVisitor::setZero,
"Set the linear and angular components of *this to zero.")
.def("setRandom",&MotionPythonVisitor::setRandom,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment