Skip to content

Commit 8f0d144

Browse files
joseajosea
josea
authored and
josea
committed
Updates and bug fixes for BEST Robotics Virtual game 2021
1 parent cd31ed4 commit 8f0d144

File tree

77 files changed

+6887
-2653
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+6887
-2653
lines changed

Robotics Playground.mltbx

-2.59 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
% Position of cells [x y] in meters from the center of the field
2+
cellPose=[0.920 1.265;...
3+
1.035 1.265;...
4+
0.805 1.265;...
5+
0.920 0.920;...
6+
1.035 0.920;...
7+
0.805 0.920;...
8+
1.035 0.460;...
9+
0.920 0.345;...
10+
0.805 0.345;...
11+
0.575 0.115;...
12+
0.460 0.000;...
13+
0.345 0.115;...
14+
0.805 -0.575;...
15+
1.035 -0.460;...
16+
0.920 -0.575;...
17+
0.920 -0.805;...
18+
0.805 -0.805;...
19+
1.035 -0.920;...
20+
1.265 -1.495;...
21+
1.380 -1.265;...
22+
1.495 -1.495];
23+
24+
cellLevel=[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ];
25+
cellTypeArray=[1 2 0 0 0 1 0 1 0 0 0 0 0 2 1 2 0 1 1 0 0 ];
26+
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
27+
platformPoses=[0.91 0.91;1.37 -1.37];
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
% Position of cells [x y] in meters from the center of the field
2+
cellPose=[0.920 1.495;...
3+
1.035 1.380;...
4+
0.805 1.380;...
5+
0.920 0.805;...
6+
1.035 1.035;...
7+
0.805 0.920;...
8+
1.035 0.345;...
9+
0.920 0.460;...
10+
0.805 0.460;...
11+
0.575 -0.115;...
12+
0.460 0.000;...
13+
0.345 0.000;...
14+
0.805 -0.460;...
15+
1.035 -0.575;...
16+
0.920 -0.460;...
17+
0.920 -0.920;...
18+
0.805 -0.920;...
19+
1.035 -1.035;...
20+
1.265 -1.380;...
21+
1.380 -1.265;...
22+
1.495 -1.380];
23+
24+
cellLevel=[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ];
25+
cellTypeArray=[0 0 1 1 0 2 0 0 0 1 2 0 0 0 2 0 1 0 1 0 1 ];
26+
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
27+
platformPoses=[0.91 0.91;1.37 -1.37];
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
% Position of cells [x y] in meters from the center of the field
2+
cellPose=[0.920 1.265;...
3+
0.805 1.380;...
4+
1.035 1.380;...
5+
0.920 1.035;...
6+
0.805 0.920;...
7+
1.035 0.805;...
8+
0.920 0.575;...
9+
0.805 0.345;...
10+
1.035 0.460;...
11+
0.460 -0.115;...
12+
0.345 0.115;...
13+
0.575 0.115;...
14+
0.920 -0.460;...
15+
0.805 -0.575;...
16+
1.035 -0.460;...
17+
0.920 -0.920;...
18+
0.805 -0.805;...
19+
1.035 -0.920;...
20+
1.380 -1.265;...
21+
1.265 -1.265;...
22+
1.495 -1.380];
23+
24+
cellLevel=[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0];
25+
cellTypeArray=[1 0 0 0 0 0 2 0 0 1 1 0 1 0 0 1 2 0 2 0 1];
26+
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
27+
platformPoses=[0.91 0.91;1.37 -1.37];
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
% Position of cells [x y] in meters from the center of the field
2+
cellPose=[0.920 1.380;...
3+
0.805 1.380;...
4+
1.035 1.380;...
5+
0.805 0.920;...
6+
1.035 0.920;...
7+
0.920 0.460;...
8+
0.805 0.460;...
9+
1.035 0.460;...
10+
0.460 0.000;...
11+
0.345 0.000;...
12+
0.575 0.000;...
13+
0.920 -0.460;...
14+
0.805 -0.460;...
15+
1.035 -0.460;...
16+
0.920 -0.920;...
17+
0.805 -0.920;...
18+
1.035 -0.920;...
19+
1.265 -1.380;...
20+
1.495 -1.380;...
21+
0.920 0.920;...
22+
1.380 -1.380];
23+
cellPose(:,2)=cellPose(:,2)+(0.115*(randi(3,[21 1])-2));
24+
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 0 0 0 1 2 0 1 0 0 0 1 2 0 1 0 0];
27+
cellTypeArray=cellTypeArray(randperm(21));
28+
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
29+
platformPoses=[0.91 0.91;1.37 -1.37];
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)