Skip to content

Commit

Permalink
Updates and bug fixes for BEST Robotics Virtual game 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
josea authored and josea committed Oct 18, 2021
1 parent cd31ed4 commit 8f0d144
Show file tree
Hide file tree
Showing 77 changed files with 6,887 additions and 2,653 deletions.
Binary file modified Robotics Playground.mltbx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
% Position of cells [x y] in meters from the center of the field
cellPose=[0.920 1.265;...
1.035 1.265;...
0.805 1.265;...
0.920 0.920;...
1.035 0.920;...
0.805 0.920;...
1.035 0.460;...
0.920 0.345;...
0.805 0.345;...
0.575 0.115;...
0.460 0.000;...
0.345 0.115;...
0.805 -0.575;...
1.035 -0.460;...
0.920 -0.575;...
0.920 -0.805;...
0.805 -0.805;...
1.035 -0.920;...
1.265 -1.495;...
1.380 -1.265;...
1.495 -1.495];

cellLevel=[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ];
cellTypeArray=[1 2 0 0 0 1 0 1 0 0 0 0 0 2 1 2 0 1 1 0 0 ];
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
platformPoses=[0.91 0.91;1.37 -1.37];
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
% Position of cells [x y] in meters from the center of the field
cellPose=[0.920 1.495;...
1.035 1.380;...
0.805 1.380;...
0.920 0.805;...
1.035 1.035;...
0.805 0.920;...
1.035 0.345;...
0.920 0.460;...
0.805 0.460;...
0.575 -0.115;...
0.460 0.000;...
0.345 0.000;...
0.805 -0.460;...
1.035 -0.575;...
0.920 -0.460;...
0.920 -0.920;...
0.805 -0.920;...
1.035 -1.035;...
1.265 -1.380;...
1.380 -1.265;...
1.495 -1.380];

cellLevel=[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 ];
cellTypeArray=[0 0 1 1 0 2 0 0 0 1 2 0 0 0 2 0 1 0 1 0 1 ];
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
platformPoses=[0.91 0.91;1.37 -1.37];
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
% Position of cells [x y] in meters from the center of the field
cellPose=[0.920 1.265;...
0.805 1.380;...
1.035 1.380;...
0.920 1.035;...
0.805 0.920;...
1.035 0.805;...
0.920 0.575;...
0.805 0.345;...
1.035 0.460;...
0.460 -0.115;...
0.345 0.115;...
0.575 0.115;...
0.920 -0.460;...
0.805 -0.575;...
1.035 -0.460;...
0.920 -0.920;...
0.805 -0.805;...
1.035 -0.920;...
1.380 -1.265;...
1.265 -1.265;...
1.495 -1.380];

cellLevel=[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0];
cellTypeArray=[1 0 0 0 0 0 2 0 0 1 1 0 1 0 0 1 2 0 2 0 1];
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
platformPoses=[0.91 0.91;1.37 -1.37];
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
% Position of cells [x y] in meters from the center of the field
cellPose=[0.920 1.380;...
0.805 1.380;...
1.035 1.380;...
0.805 0.920;...
1.035 0.920;...
0.920 0.460;...
0.805 0.460;...
1.035 0.460;...
0.460 0.000;...
0.345 0.000;...
0.575 0.000;...
0.920 -0.460;...
0.805 -0.460;...
1.035 -0.460;...
0.920 -0.920;...
0.805 -0.920;...
1.035 -0.920;...
1.265 -1.380;...
1.495 -1.380;...
0.920 0.920;...
1.380 -1.380];
cellPose(:,2)=cellPose(:,2)+(0.115*(randi(3,[21 1])-2));

cellLevel=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1];
cellTypeArray=[0 1 2 0 1 0 0 0 1 2 0 1 0 0 0 1 2 0 1 0 0];
cellTypeArray=cellTypeArray(randperm(21));
isoPoses=[0.91 0;-0.91/2 0.91;-0.91/2 -0.91];
platformPoses=[0.91 0.91;1.37 -1.37];
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 8f0d144

Please sign in to comment.