Commit 6e36a391 authored by jcarpent's avatar jcarpent
Browse files

[Python] Expose randomConfiguration with single input argument

parent 563bb3ec
......@@ -72,12 +72,17 @@ namespace se3
"Configuration q2 (size Model::nq)"),
"Distance between two configurations.");
bp::def("randomConfiguration",
(VectorXd (*)(const Model &))&randomConfiguration,
bp::arg("Model"),
"Generate a random configuration in the bounds given by the lower and upper limits contained in model.");
bp::def("randomConfiguration",
(VectorXd (*)(const Model &, const VectorXd &, const VectorXd &))&randomConfiguration,
bp::args("Model",
"Joint lower limits (size Model::nq)",
"Joint upper limits (size Model::nq)"),
"Generate a random configuration ensuring provied joint limits are respected ");
"Generate a random configuration in the bounds given by the Joint lower and upper limits arguments.");
bp::def("normalize",normalize_proxy,
bp::args("Model",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment