Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpp-manipulation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Humanoid Path Planner
hpp-manipulation
Commits
a8e018a1
Commit
a8e018a1
authored
1 year ago
by
Florent Lamiraux
Browse files
Options
Downloads
Patches
Plain Diff
[steeringMethod::EndEffectorTrajectory] Improve documentation.
parent
088829b3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
TODO.txt
+1
-1
1 addition, 1 deletion
TODO.txt
doc/Doxyfile.extra.in
+2
-0
2 additions, 0 deletions
doc/Doxyfile.extra.in
include/hpp/manipulation/steering-method/end-effector-trajectory.hh
+30
-4
30 additions, 4 deletions
...p/manipulation/steering-method/end-effector-trajectory.hh
with
33 additions
and
5 deletions
TODO.txt
+
1
−
1
View file @
a8e018a1
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
hard-coded optimizer (Graph-RandomShortcut) and then globally with the
hard-coded optimizer (Graph-RandomShortcut) and then globally with the
command ps.addPathOptimizer("Graph-RandomShortcut"). Due to how this works,
command ps.addPathOptimizer("Graph-RandomShortcut"). Due to how this works,
this is like doing two times the same thing so the first should be removed.
this is like doing two times the same thing so the first should be removed.
However bugs have been observed when the global optimization is used (Core
However bugs have been observed when the global optimization is used (Core
dumped). For unknown reasons, in GraphOptimizer::optimize, the dynamic
dumped). For unknown reasons, in GraphOptimizer::optimize, the dynamic
cast of current->constraints() may fail on *some* 0-length paths. Ignoring
cast of current->constraints() may fail on *some* 0-length paths. Ignoring
empty paths (the "if" I have added) seems to make the problem disappear
empty paths (the "if" I have added) seems to make the problem disappear
...
...
This diff is collapsed.
Click to expand it.
doc/Doxyfile.extra.in
+
2
−
0
View file @
a8e018a1
...
@@ -8,3 +8,5 @@ ALIASES += Link{1}="\ref \1"
...
@@ -8,3 +8,5 @@ ALIASES += Link{1}="\ref \1"
ALIASES += Link{2}="\ref \1 \"\2\""
ALIASES += Link{2}="\ref \1 \"\2\""
ALIASES += LHPP{2}="\Link{hpp::\1::\2,\2}"
ALIASES += LHPP{2}="\Link{hpp::\1::\2,\2}"
ALIASES += LPinocchio{1}="\LHPP{pinocchio,\1}"
ALIASES += LPinocchio{1}="\LHPP{pinocchio,\1}"
USE_MATHJAX=YES
This diff is collapsed.
Click to expand it.
include/hpp/manipulation/steering-method/end-effector-trajectory.hh
+
30
−
4
View file @
a8e018a1
...
@@ -56,10 +56,36 @@ class HPP_MANIPULATION_DLLAPI EndEffectorTrajectory
...
@@ -56,10 +56,36 @@ class HPP_MANIPULATION_DLLAPI EndEffectorTrajectory
return
ptr
;
return
ptr
;
}
}
/// Build a trajectory in SE(3).
/** Build a trajectory in SE(3).
/// \param points a Nx7 matrix whose rows corresponds to a pose.
\param points a Nx7 matrix whose rows corresponds to poses.
/// \param weights a 6D vector, weights to be applied when computing
\param weights a 6D vector, weights to be applied when computing
/// the distance between two SE3 points.
the distance between two SE3 points.
The trajectory \f$T\f$ is defined as follows. Let \f$N\f$ be the number of
lines of matrix \c points, \f$p_i\f$ be the i-th line of \c points and
let \f$W\f$ be the
diagonal matrix with the coefficients of \c weights:
\f[
W = \left(\begin{array}{cccccc}
w_1 & 0 & 0 & 0 & 0 & 0\\
0 & w_2 & 0 & 0 & 0 & 0\\
0 & 0 & w_3 & 0 & 0 & 0\\
0 & 0 & 0 & w_4 & 0 & 0\\
0 & 0 & 0 & 0 & w_5 & 0\\
0 & 0 & 0 & 0 & 0 & w_6\\
\end{array}\right)
\f]
\f{eqnarray*}{
f(t) = \mathbf{p}_i \oplus \frac{t-t_i}{t_{i+1}-t_i} (\mathbf{p}_{i+1}-\mathbf{p}_i) &&
\mbox{ for } t \in [t_i,t_{i+1}]
\f}
where \f$t_0 = 0\f$ and
\f{eqnarray*}{
t_{i+1}-t_i = \|W(\mathbf{p}_{i+1}-\mathbf{p}_i)\| && \mbox{for } i
\mbox{ such that } 1 \leq i \leq N-1
\f} */
static
PathPtr_t
makePiecewiseLinearTrajectory
(
matrixIn_t
points
,
static
PathPtr_t
makePiecewiseLinearTrajectory
(
matrixIn_t
points
,
vectorIn_t
weights
);
vectorIn_t
weights
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment