Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alexander R. Hankin
EE194_Manduca_Simulator
Commits
e79df061
Commit
e79df061
authored
Apr 30, 2018
by
David A.. Werner
Browse files
Bigfix
parent
6840e09f
Changes
1
Hide whitespace changes
Inline
Side-by-side
manduca/Manducas.py
View file @
e79df061
...
...
@@ -172,7 +172,7 @@ class SimpleManduca(Manduca):
@
staticmethod
def
random_individual
(
num_legs
,
time_segments
,
time_step
,
**
kwargs
):
musc_stren
=
kwargs
.
pop
(
muscle_strength
,
100
)
musc
le
_stren
gth
=
kwargs
.
pop
(
'
muscle_strength
'
,
100
)
rng
=
kwargs
.
pop
(
'rng'
,
np
.
random
)
legs
=
rng
.
choice
([
0
,
1
],
size
=
(
time_segments
,
num_legs
))
muscles
=
rng
.
choice
([
0
,
muscle_strength
],
...
...
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