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
fd4909ce
Commit
fd4909ce
authored
2 years ago
by
odri
Browse files
Options
Downloads
Patches
Plain Diff
Ready for merge
parent
a1c371ed
No related branches found
Branches containing commit
No related tags found
1 merge request
!29
Multiprocess mpc
Pipeline
#20674
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
+3
-3
3 additions, 3 deletions
config/walk_parameters.yaml
python/quadruped_reactive_walking/WB_MPC/ProblemData.py
+1
-1
1 addition, 1 deletion
python/quadruped_reactive_walking/WB_MPC/ProblemData.py
with
4 additions
and
4 deletions
config/walk_parameters.yaml
+
3
−
3
View file @
fd4909ce
...
...
@@ -6,8 +6,8 @@ robot:
LOGGING
:
true
# Enable/disable logging during the experiment
PLOTTING
:
true
# Enable/disable automatic plotting at the end of the experiment
DEMONSTRATION
:
false
# Enable/disable demonstration functionalities
SIMULATION
:
fals
e
# Enable/disable PyBullet simulation or running on real robot
enable_pyb_GUI
:
fals
e
# Enable/disable PyBullet GUI
SIMULATION
:
tru
e
# Enable/disable PyBullet simulation or running on real robot
enable_pyb_GUI
:
tru
e
# Enable/disable PyBullet GUI
envID
:
0
# Identifier of the environment to choose in which one the simulation will happen
use_flat_plane
:
true
# If True the ground is flat, otherwise it has bumps
predefined_vel
:
true
# If we are using a predefined reference velocity (True) or a joystick (False)
...
...
@@ -25,7 +25,7 @@ robot:
dt_mpc
:
0.0014
# 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
# Kp_main: [0.0, 0.0, 0.0] # Proportional gains for the PD+
Kp_main
:
[
4
,
4
,
4
]
# Proportional gains for the PD+
Kp_main
:
[
3
,
3
,
3
]
# Proportional gains for the PD+
# Kd_main: [0., 0., 0.] # Derivative gains for the PD+
Kd_main
:
[
0.3
,
0.3
,
0.3
]
# Derivative gains for the PD+
# Kff_main: 0.0 # Feedforward torques multiplier for the PD+
...
...
This diff is collapsed.
Click to expand it.
python/quadruped_reactive_walking/WB_MPC/ProblemData.py
+
1
−
1
View file @
fd4909ce
...
...
@@ -116,7 +116,7 @@ class ProblemDataFull(problemDataAbstract):
#self.friction_cone_w = 1e3 * 0
self
.
control_bound_w
=
1e3
self
.
control_reg_w
=
1e0
self
.
state_reg_w
=
np
.
array
([
1e-
5
]
*
3
+
[
3
*
1e-1
]
*
3
)
self
.
state_reg_w
=
np
.
array
([
1e-
3
]
*
3
+
[
3
*
1e-1
]
*
3
)
self
.
terminal_velocity_w
=
np
.
array
([
0
]
*
3
+
[
1e3
]
*
3
)
self
.
q0_reduced
=
self
.
q0
[
10
:
13
]
...
...
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