Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
pinocchio
Commits
6e36a391
Commit
6e36a391
authored
May 26, 2018
by
jcarpent
Browse files
[Python] Expose randomConfiguration with single input argument
parent
563bb3ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/algorithm/expose-joints.cpp
View file @
6e36a391
...
...
@@ -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"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment