Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Q
quadruped-reactive-walking
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
Gepetto
quadruped-reactive-walking
Commits
2583ba5d
Commit
2583ba5d
authored
3 years ago
by
odri
Browse files
Options
Downloads
Patches
Plain Diff
Switch OSQP list size to 15000 for longer horizon
parent
91edb354
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/qrw/MPC.hpp
+4
-4
4 additions, 4 deletions
include/qrw/MPC.hpp
with
4 additions
and
4 deletions
include/qrw/MPC.hpp
+
4
−
4
View file @
2583ba5d
...
@@ -240,7 +240,7 @@ class MPC {
...
@@ -240,7 +240,7 @@ class MPC {
Eigen
::
MatrixXd
x_f_applied
;
// Next predicted state of the robot + Desired contact forces to reach it
Eigen
::
MatrixXd
x_f_applied
;
// Next predicted state of the robot + Desired contact forces to reach it
// Matrix ML
// Matrix ML
const
static
int
size_nz_ML
=
5000
;
const
static
int
size_nz_ML
=
1
5000
;
csc
*
ML
;
// Compressed Sparse Column matrix
csc
*
ML
;
// Compressed Sparse Column matrix
// Indices that are used to udpate ML
// Indices that are used to udpate ML
...
@@ -250,17 +250,17 @@ class MPC {
...
@@ -250,17 +250,17 @@ class MPC {
// TODO FOR S ????
// TODO FOR S ????
// Matrix NK
// Matrix NK
const
static
int
size_nz_NK
=
5000
;
const
static
int
size_nz_NK
=
1
5000
;
double
v_NK_up
[
size_nz_NK
]
=
{};
// maxtrix NK (upper bound)
double
v_NK_up
[
size_nz_NK
]
=
{};
// maxtrix NK (upper bound)
double
v_NK_low
[
size_nz_NK
]
=
{};
// maxtrix NK (lower bound)
double
v_NK_low
[
size_nz_NK
]
=
{};
// maxtrix NK (lower bound)
double
v_warmxf
[
size_nz_NK
]
=
{};
// maxtrix NK (lower bound)
double
v_warmxf
[
size_nz_NK
]
=
{};
// maxtrix NK (lower bound)
// Matrix P
// Matrix P
const
static
int
size_nz_P
=
5000
;
const
static
int
size_nz_P
=
1
5000
;
csc
*
P
;
// Compressed Sparse Column matrix
csc
*
P
;
// Compressed Sparse Column matrix
// Matrix Q
// Matrix Q
const
static
int
size_nz_Q
=
5000
;
const
static
int
size_nz_Q
=
1
5000
;
double
Q
[
size_nz_Q
]
=
{};
// Q is full of zeros
double
Q
[
size_nz_Q
]
=
{};
// Q is full of zeros
// OSQP solver variables
// OSQP solver variables
...
...
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