Skip to content

Commit 1a4f9cf

Browse files
joseajosea
authored andcommitted
Updating random field configuration for BEST robotics game
1 parent a29005c commit 1a4f9cf

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

Robotics Playground.mltbx

28 Bytes
Binary file not shown.
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
% Position of cells [x y] in meters from the center of the field
2-
cellPose=[0.920 1.380;...
2+
cellPose=[0.920 1.265;...
33
0.805 1.380;...
44
1.035 1.380;...
5+
0.920 1.035;...
56
0.805 0.920;...
6-
1.035 0.920;...
7-
0.920 0.460;...
8-
0.805 0.460;...
7+
1.035 0.805;...
8+
0.920 0.575;...
9+
0.805 0.345;...
910
1.035 0.460;...
10-
0.460 0.000;...
11-
0.345 0.000;...
12-
0.575 0.000;...
11+
0.460 -0.115;...
12+
0.345 0.115;...
13+
0.575 0.115;...
1314
0.920 -0.460;...
14-
0.805 -0.460;...
15+
0.805 -0.575;...
1516
1.035 -0.460;...
1617
0.920 -0.920;...
17-
0.805 -0.920;...
18+
0.805 -0.805;...
1819
1.035 -0.920;...
19-
1.265 -1.380;...
20-
1.495 -1.380;...
21-
0.920 0.920;...
22-
1.380 -1.380];
20+
1.380 -1.265;...
21+
1.265 -1.265;...
22+
1.495 -1.380];
2323
cellPose(:,2)=cellPose(:,2)+(0.115*(randi(3,[21 1])-2));
2424

25-
cellLevel=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1];
26-
cellTypeArray=[0 1 2 0 1 2 0 0 1 2 0 1 2 0 0 1 2 0 1 2 0];
25+
cellLevel=[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0];
26+
cellTypeArray=[1 0 0 0 0 0 2 0 0 1 1 0 1 0 0 1 2 0 2 0 1];
2727
cellTypeArray=cellTypeArray(randperm(21));
2828
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
2929
platformPoses=[0.91 0.91;1.37 -1.37];

0 commit comments

Comments
 (0)