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
loco-3d
crocoddyl
Commits
b5c4c9b1
Commit
b5c4c9b1
authored
Oct 08, 2020
by
Rohan Budhiraja
Browse files
[ddp] compile error
parent
1229872a
Pipeline
#11613
failed with stage
in 78 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/core/solvers/ddp.cpp
View file @
b5c4c9b1
...
...
@@ -319,9 +319,12 @@ void SolverDDP::computeGains(const std::size_t& t) {
throw_pretty
(
"backward_error"
);
}
K_
[
t
].
topRows
(
nu
).
noalias
()
=
Qxu_
[
t
].
leftCols
(
nu
).
transpose
();
Quu_llt_
[
t
].
solveInPlace
(
K_
[
t
].
topRows
(
nu
));
Eigen
::
Block
<
Eigen
::
MatrixXd
>
K
=
K_
[
t
].
topRows
(
nu
);
Quu_llt_
[
t
].
solveInPlace
(
K
);
k_
[
t
].
head
(
nu
)
=
Qu_
[
t
].
head
(
nu
);
Quu_llt_
[
t
].
solveInPlace
(
k_
[
t
].
head
(
nu
));
Eigen
::
VectorBlock
<
Eigen
::
VectorXd
,
Eigen
::
Dynamic
>
k
=
k_
[
t
].
head
(
nu
);
Quu_llt_
[
t
].
solveInPlace
(
k
);
}
}
...
...
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