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
ec2160b2
Commit
ec2160b2
authored
2 years ago
by
Ale
Browse files
Options
Downloads
Patches
Plain Diff
still have to work on multiprocessing
parent
c1c93021
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#21084
failed
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/walk_parameters.yaml
+2
-2
2 additions, 2 deletions
config/walk_parameters.yaml
python/quadruped_reactive_walking/WB_MPC/ProblemData.py
+3
-3
3 additions, 3 deletions
python/quadruped_reactive_walking/WB_MPC/ProblemData.py
with
5 additions
and
5 deletions
config/walk_parameters.yaml
+
2
−
2
View file @
ec2160b2
...
@@ -13,7 +13,7 @@ robot:
...
@@ -13,7 +13,7 @@ robot:
predefined_vel
:
true
# If we are using a predefined reference velocity (True) or a joystick (False)
predefined_vel
:
true
# If we are using a predefined reference velocity (True) or a joystick (False)
N_SIMULATION
:
10000
# Number of simulated wbc time steps
N_SIMULATION
:
10000
# Number of simulated wbc time steps
enable_corba_viewer
:
false
# Enable/disable Corba Viewer
enable_corba_viewer
:
false
# Enable/disable Corba Viewer
enable_multiprocessing
:
fals
e
# Enable/disable running the MPC in another process in parallel of the main loop
enable_multiprocessing
:
tru
e
# Enable/disable running the MPC in another process in parallel of the main loop
perfect_estimator
:
true
# Enable/disable perfect estimator by using data directly from PyBullet
perfect_estimator
:
true
# Enable/disable perfect estimator by using data directly from PyBullet
# General control parameters
# General control parameters
...
@@ -25,7 +25,7 @@ robot:
...
@@ -25,7 +25,7 @@ robot:
dt_mpc
:
0.015
# Time step of the model predictive control
dt_mpc
:
0.015
# Time step of the model predictive control
type_MPC
:
3
# Which MPC solver you want to use: 0 for OSQP MPC, 1, 2, 3 for Crocoddyl MPCs
type_MPC
:
3
# Which MPC solver you want to use: 0 for OSQP MPC, 1, 2, 3 for Crocoddyl MPCs
save_guess
:
false
# true to interpolate the impedance quantities between nodes of the MPC
save_guess
:
false
# true to interpolate the impedance quantities between nodes of the MPC
movement
:
"
circle
"
# name of the movement to perform
movement
:
"
step
"
# name of the movement to perform
interpolate_mpc
:
true
# true to interpolate the impedance quantities between nodes of the MPC
interpolate_mpc
:
true
# true to interpolate the impedance quantities between nodes of the MPC
interpolation_type
:
3
# 0,1,2,3 decide which kind of interpolation is used
interpolation_type
:
3
# 0,1,2,3 decide which kind of interpolation is used
# Kp_main: [0.0, 0.0, 0.0] # Proportional gains for the PD+
# Kp_main: [0.0, 0.0, 0.0] # Proportional gains for the PD+
...
...
This diff is collapsed.
Click to expand it.
python/quadruped_reactive_walking/WB_MPC/ProblemData.py
+
3
−
3
View file @
ec2160b2
...
@@ -175,12 +175,12 @@ class ProblemDataFull(problemDataAbstract):
...
@@ -175,12 +175,12 @@ class ProblemDataFull(problemDataAbstract):
self
.
foot_tracking_w
=
1e4
self
.
foot_tracking_w
=
1e4
# self.friction_cone_w = 1e3 * 0
# self.friction_cone_w = 1e3 * 0
self
.
control_bound_w
=
1e3
self
.
control_bound_w
=
1e3
self
.
control_reg_w
=
1e
0
self
.
control_reg_w
=
1e
-1
self
.
state_reg_w
=
np
.
array
([
1e1
]
*
3
self
.
state_reg_w
=
np
.
array
([
1e1
]
*
3
+
[
1e-
1
]
*
3
+
[
1e-
2
]
*
3
+
[
1e1
]
*
6
+
[
1e1
]
*
6
+
[
1e1
]
*
3
+
[
1e1
]
*
3
+
[
1e0
]
*
3
+
[
3
*
1e-1
]
*
3
+
[
1e1
]
*
6
+
[
1e1
]
*
6
)
)
self
.
terminal_velocity_w
=
np
.
array
([
0
]
*
12
+
[
1e3
]
*
12
)
self
.
terminal_velocity_w
=
np
.
array
([
0
]
*
12
+
[
1e3
]
*
12
)
...
...
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