Barobo
PortalSign In
HomeShopTutorialsFree CurriculumHour of Code
RoboBlockly for Learning Math and Coding

Piano
Linkbot Image Mindstorm Image
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
Labels: x-axis y-axis Show Grid
Grid: 10x10 cm 20x20 cm 30x30 cm
60x60 cm 100x100 cm 200x200 cm
Quad: 4 Quadrants 1 Quadrant 1&4 Quadrants
Units: US Customary Metric
Background: Background Image

Robot 1

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

Robot 2

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

Robot 3

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

Robot 4

0
S
M
L
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 (for b greater than a)
/* Code generated by RoboBlockly v2.0 */
#include <linkbot.h>
CLinkbotI robot;
double radius = 4.45;

// This is an example solution for 15 - 18
robot.traceColor("red", 5);
robot.driveDistance(15, radius);
robot.traceColor("green", 2);
robot.driveDistance(-18, radius);
Load Blocks
Hardware
LArduino
Workspace Show Ch Save File
Problem Statement:

Add numbers a - b on a number line. Move the robot tick mark along the number line, first to the red line, and then to the green line with the two preplaced driveDistance blocks. Click New Problem for new problems.


		
Rubbish bin
Time