Commit e79df061 authored by David A.. Werner's avatar David A.. Werner
Browse files


parent 6840e09f
......@@ -172,7 +172,7 @@ class SimpleManduca(Manduca):
def random_individual(num_legs, time_segments, time_step, **kwargs):
musc_stren = kwargs.pop(muscle_strength, 100)
muscle_strength = 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],
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment