From c416f565636437708411a8dc8d9a726555703283 Mon Sep 17 00:00:00 2001 From: kngwyu Date: Mon, 25 Mar 2024 18:12:46 +0900 Subject: [PATCH] [exp] moving --- config/env/20240325-moving.toml | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 config/env/20240325-moving.toml diff --git a/config/env/20240325-moving.toml b/config/env/20240325-moving.toml new file mode 100644 index 00000000..79ab49d6 --- /dev/null +++ b/config/env/20240325-moving.toml @@ -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 \ No newline at end of file