0x2015105-5-10y2015105-5-10
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: 20x20 cm 30x30 cm 60x60 cm
100x100 cm 200x200 cm
Quad: 4 quadrants 1 quadrant
Units: US Customary Metric
Background:

Robot 1

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

Robot 2

Initial Position:
( cm, cm)
Initial Angle:
deg
Current Position: (0 cm, 5 cm)
Current Angle: 0 deg
Wheel Radius:
Track Width:
cm

Robot 3

Initial Position:
( cm, cm)
Initial Angle:
deg
Current Position: (0 cm, 10 cm)
Current Angle: 0 deg
Wheel Radius:
Track Width:
cm

Robot 4

Initial Position:
( cm, cm)
Initial Angle:
deg
Current Position: (0 cm, 15 cm)
Current Angle: 0 deg
Wheel Radius:
Track Width:
cm

Perform a + b + (- c)
Problem Statement:
Add the numbers a + b + (-c) on the number line. Move the robot tick mark along the number line, first to the red line, then to the green line, and finally to the blue line with the three preplaced driveDistance blocks. Refresh to try another problem.
/* Code generated by RoboBlockly v2.0 */
#include <linkbot.h>
CLinkbotI robot;
double radius = 4.45;

// An example of a solution for 17 + 12 + (-6)
robot.traceColor("red", 7);
robot.driveDistance(17, radius);
robot.traceColor("green", 5);
robot.driveDistance(12, radius);
robot.traceColor("blue", 2);
robot.driveDistance(-6, radius);
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
Add the numbers a + b + (-c) on the number line. Move the robot tick mark along the number line, first to the red line, then to the green line, and finally to the blue line with the three preplaced driveDistance blocks. Refresh to try another problem.

		
Time