Skip to content

Commit 9dc6bdb

Browse files
committed
Change sensor range to Inf (doesn't affect the results too much for 3 agents), worse example with a different seed
1 parent 2548973 commit 9dc6bdb

5 files changed

Lines changed: 2 additions & 2 deletions

File tree

flocking_analysis/Simulation.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
% Seed the pseudo random number generator. This is required if we want
2929
% reproducible simulation, e. g. for profiling the code.
30-
rng(100);
30+
rng(75);
3131
c_fric_vec=[2,3,4,5];
3232
for n_sim=1:length(c_fric_vec)
3333

@@ -54,7 +54,7 @@
5454

5555
switch netType
5656
case 1
57-
range = 7*1.2; % Range of the radio communication
57+
range = Inf; % Range of the radio communication
5858
Network = IdealNetwork(agentCount, dT, dimension, range);
5959
case 2
6060
range = 10; % Range of the radio communication

flocking_analysis/data/traj2.mat

2.75 KB
Binary file not shown.

flocking_analysis/data/traj3.mat

-346 Bytes
Binary file not shown.

flocking_analysis/data/traj4.mat

547 Bytes
Binary file not shown.

flocking_analysis/data/traj5.mat

901 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)