Commit 7ca0a151 authored by jcarpent's avatar jcarpent
Browse files

[Python] Correct exposition of config vector normalisation

parent b4b14fb3
...@@ -58,12 +58,12 @@ namespace se3 ...@@ -58,12 +58,12 @@ namespace se3
return randomConfiguration(model, lowerPosLimit, upperPosLimit); return randomConfiguration(model, lowerPosLimit, upperPosLimit);
} }
static void normalize_proxy(const Model & model, static Eigen::VectorXd normalize_proxy(const Model & model,
Eigen::VectorXd & config) const Eigen::VectorXd & config)
{ {
Eigen::VectorXd q(config); Eigen::VectorXd q(config);
normalize(model, q); normalize(model,q);
config = q; return q;
} }
static bool isSameConfiguration_proxy(const Model & model, static bool isSameConfiguration_proxy(const Model & 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