Skip to content
Snippets Groups Projects
Commit 1cba1352 authored by jcarpent's avatar jcarpent
Browse files

[Python] Update function naming for Jacobian functions

parent e9bb3637
No related branches found
No related tags found
No related merge requests found
......@@ -72,14 +72,14 @@ namespace se3
void exposeJacobian()
{
bp::def("computeJacobians",(const Data::Matrix6x &(*)(const Model &, Data &, const Eigen::VectorXd &))&computeJointJacobians,
bp::def("computeJointJacobians",(const Data::Matrix6x &(*)(const Model &, Data &, const Eigen::VectorXd &))&computeJointJacobians,
bp::args("Model","Data",
"Joint configuration q (size Model::nq)"),
"Computes the full model Jacobian, i.e. the stack of all motion subspace expressed in the world frame.\n"
"The result is accessible through data.J. This function computes also the forwardKinematics of the model.",
bp::return_value_policy<bp::return_by_value>());
bp::def("computeJacobians",(const Data::Matrix6x &(*)(const Model &, Data &))&computeJointJacobians,
bp::def("computeJointJacobians",(const Data::Matrix6x &(*)(const Model &, Data &))&computeJointJacobians,
bp::args("Model","Data"),
"Computes the full model Jacobian, i.e. the stack of all motion subspace expressed in the world frame.\n"
"The result is accessible through data.J. This function assumes that forwardKinematics has been called before",
......@@ -103,7 +103,7 @@ namespace se3
"Computes the jacobian of a given given joint according to the given entries in data."
"If local is set to true, it returns the jacobian associated to the joint frame. Otherwise, it returns the jacobian of the frame coinciding with the world frame.");
bp::def("computeJacobiansTimeVariation",computeJointJacobiansTimeVariation,
bp::def("computeJointJacobiansTimeVariation",computeJointJacobiansTimeVariation,
bp::args("Model","Data",
"Joint configuration q (size Model::nq)",
"Joint velocity v (size Model::nv)"),
......
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