0x2418126y2418126
Grid:
Tics Lines:
Width px
Hash Lines:
Width px
Labels:
Font px
Trace Lines:
Robot 1:
Width px
Robot 2:
Width px
Robot 3:
Width px
Robot 4:
Width px
Axes: x-axis y-axis Show Grid
Grid: 24x24 inches 36x36 inches 72x72 inches
96x96 inches 192x192 inches
Quad: 4 quadrants 1 quadrant
Units: US Customary Metric
Background:

Robot 1

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (3 in, 3 in)
Current Angle: 0 deg
Wheel Radius:
Track Width:
in

Robot 2

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (3 in, 15 in)
Current Angle: 270 deg
Wheel Radius:
Track Width:
in

Robot 3

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (15 in, 15 in)
Current Angle: 180 deg
Wheel Radius:
Track Width:
in

Robot 4

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (15 in, 3 in)
Current Angle: 90 deg
Wheel Radius:
Track Width:
in

Four Car Chase CCW
Problem Statement:
The four cars/robots at each corner labeled A,B,C, and D are to chase each other around the 4squares block in a counter-clockwise manner. The pre-placed block already began Add in the necessary combination of blocks (NB and non-NB) to perform this action.
/* Code generated by RoboBlockly v2.0 */
#include <linkbot.h>
CLinkbotI robot1;
double radius1 = 1.75;
CLinkbotI robot2;
double radius2 = 1.75;
CLinkbotI robot3;
double radius3 = 1.75;
CLinkbotI robot4;
double radius4 = 1.75;
double trackwidth1 = 3.6;
double trackwidth2 = 3.6;
double trackwidth3 = 3.6;
double trackwidth4 = 3.6;
int count;

count = 0;
while(count < 5) {
  robot1.driveDistanceNB(12, radius1);
  robot2.driveDistanceNB(12, radius2);
  robot3.driveDistanceNB(12, radius3);
  robot4.driveDistance(12, radius4);
  robot1.turnLeftNB(90, radius1, trackwidth1);
  robot2.turnLeftNB(90, radius2, trackwidth2);
  robot3.turnLeftNB(90, radius3, trackwidth3);
  robot4.turnLeft(90, radius4, trackwidth4);
  count = count + 1;
}
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
The four cars/robots at each corner labeled A,B,C, and D are to chase each other around the 4squares block in a counter-clockwise manner. The pre-placed block already began Add in the necessary combination of blocks (NB and non-NB) to perform this action.

		
Time