Skip to content

Commit

Permalink
[exp] moving
Browse files Browse the repository at this point in the history
  • Loading branch information
kngwyu committed Mar 25, 2024
1 parent aee1e7b commit c416f56
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions config/env/20240325-moving.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
n_initial_agents = 50
n_max_agents = 150
n_max_foods = 60
food_num_fn = ["logistic", 30, 0.01, 60]
food_loc_fn = ["switching",
100,
# Rotate clockwise
["gaussian", [360.0, 270.0], [48.0, 36.0]],
["gaussian", [360.0, 210.0], [48.0, 36.0]],
["gaussian", [360.0, 150.0], [48.0, 36.0]],
["gaussian", [360.0, 90.0], [48.0, 36.0]],
["gaussian", [300.0, 90.0], [48.0, 36.0]],
["gaussian", [240.0, 90.0], [48.0, 36.0]],
["gaussian", [180.0, 90.0], [48.0, 36.0]],
["gaussian", [120.0, 90.0], [48.0, 36.0]],
["gaussian", [120.0, 150.0], [48.0, 36.0]],
["gaussian", [120.0, 210.0], [48.0, 36.0]],
["gaussian", [120.0, 270.0], [48.0, 36.0]],
["gaussian", [180.0, 270.0], [48.0, 36.0]],
["gaussian", [240.0, 270.0], [48.0, 36.0]],
["gaussian", [300.0, 270.0], [48.0, 36.0]],
]
agent_loc_fn = "uniform"
xlim = [0.0, 480.0]
ylim = [0.0, 360.0]
env_shape = "square"
neighbor_stddev = 100.0
n_agent_sensors = 24
sensor_length = 200.0
sensor_range = "wide"
agent_radius = 10.0
food_radius = 4.0
dt = 0.1
linear_damping = 0.8
angular_damping = 0.6
max_force = 80.0
min_force = -20.0
init_energy = 40.0
energy_capacity = 400.0
force_energy_consumption = 2e-5
basic_energy_consumption = 2e-4
energy_share_ratio = 0.4
n_velocity_iter = 6
n_position_iter = 2
n_physics_iter = 5
max_place_attempts = 10

0 comments on commit c416f56

Please sign in to comment.