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
Gabriele Buondonno
pinocchio
Commits
9d75dc3c
Commit
9d75dc3c
authored
Oct 05, 2017
by
jcarpent
Browse files
[Python] Correct exposition of distance algo + add squaredDistance
parent
d3fbbd18
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/algorithm/expose-joints.cpp
View file @
9d75dc3c
...
...
@@ -58,12 +58,19 @@ namespace se3
"Difference between two configurations, ie. the tangent vector that must be integrated during one unit time"
"to go from q1 to q2"
);
bp
::
def
(
"squaredDistance"
,
(
VectorXd
(
*
)(
const
Model
&
,
const
VectorXd
&
,
const
VectorXd
&
))
&
squaredDistance
,
bp
::
args
(
"Model"
,
"Configuration q1 (size Model::nq)"
,
"Configuration q2 (size Model::nq)"
),
"Squared distance vector between two configurations."
);
bp
::
def
(
"distance"
,
(
VectorXd
(
*
)(
const
Model
&
,
const
VectorXd
&
,
const
VectorXd
&
))
&
distance
,
(
double
(
*
)(
const
Model
&
,
const
VectorXd
&
,
const
VectorXd
&
))
&
distance
,
bp
::
args
(
"Model"
,
"Configuration q1 (size Model::nq)"
,
"Configuration q2 (size Model::nq)"
),
"Distance between two configurations
"
);
"Distance between two configurations
.
"
);
bp
::
def
(
"randomConfiguration"
,
(
VectorXd
(
*
)(
const
Model
&
,
const
VectorXd
&
,
const
VectorXd
&
))
&
randomConfiguration
,
...
...
Write
Preview
Markdown
is supported
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