Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
itmo-sai-code
rostok
Commits
49dc80b7
Commit
49dc80b7
authored
2 years ago
by
K Z
Browse files
Options
Download
Email Patches
Plain Diff
[app]
parent
b63d9859
1 merge request
!54
Feature/tune app
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/app.py
+6
-6
app/app.py
with
6 additions
and
6 deletions
+6
-6
app/app.py
View file @
49dc80b7
...
...
@@ -33,15 +33,15 @@ rule_vocabul, node_features = rule_extention.init_extension_rules()
# %% Create condig optimizing control
GAIT
=
2.5
WEIGHT
=
[
5
,
0
,
1
,
9
]
WEIGHT
=
[
3
,
1
,
1
,
2
]
cfg
=
ConfigRewardFunction
()
cfg
.
bound
=
(
0
,
10
)
cfg
.
iters
=
2
cfg
.
bound
=
(
2
,
10
)
cfg
.
iters
=
5
cfg
.
sim_config
=
{
"Set_G_acc"
:
chrono
.
ChVectorD
(
0
,
0
,
0
)}
cfg
.
time_step
=
0.00
1
cfg
.
time_sim
=
3
cfg
.
flags
=
[
FlagMaxTime
(
3
),
FlagNotContact
(
1
),
FlagSlipout
(
1
,
0.
2
5
)]
cfg
.
time_step
=
0.00
5
cfg
.
time_sim
=
2
cfg
.
flags
=
[
FlagMaxTime
(
2
),
FlagNotContact
(
1
),
FlagSlipout
(
0.5
,
0.5
)]
"""Wraps function call"""
criterion_callback
=
create_grab_criterion_fun
(
node_features
,
GAIT
,
WEIGHT
)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help