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: |
![]() |
|
|
|
/* Code generated by RoboBlockly v2.0 */ #include <linkbot.h> CLinkbotI robot; double radius = 1.75; double trackwidth = 3.69; robot.drivexyTo(6, 6, radius, trackwidth); robot.drivexyTo(3, 10, radius, trackwidth); robot.drivexyTo(13, 18, radius, trackwidth); robot.drivexyTo(9, 21, radius, trackwidth); robot.drivexyTo(15, 27, radius, trackwidth); robot.drivexyTo(13, 30, radius, trackwidth); robot.drivexyTo(16, 33, radius, trackwidth); robot.drivexyTo(17, 36, radius, trackwidth);
Problem Statement: Add drivexyTo blocks to drive the robot along the riverbank to point B. Make sure to stay inside the path! |
||||||||||||