---
-
-
-
Prev
Next
Exit
- :
-
Topics Covered
Unit Conversion
Float Variable Type
Lesson Links
...
...
Check Your Understanding:
1. True / False: Diameter is a straight line that touches each side of a circle while passing through the middle.
True
False
2. By multiplying the Diameter of a wheel by 3.14, this detemines:
The wheel's width
The wheel's radius
The wheel's circumference
Nothing
3. True / False: Each degree that the robot's wheel travels is equal to 3 encoder counts.
True
False
4. What is the equation to determine the distance the robot has moved?
3.14 * Circumference
Circumference * Rotations
3.14 * Rotations
Rotations * Diameter
5. True / False: Integer variable data types allow the variables to store decimal values.
True
False
6. True / False: ROBOTC follows order of operation rules when performing math calculations.
True
False
7. Which of the following is the Boolean operator for not equal to?
==
>=
!=
<=
Try It!
Try it!
1
Map Building
Draw a path for your robot to follow.
Measure the distance of each path and label it.
Measure the field perimeter and the parameter of your path.
Scale your path to fit your playing field and test to see if your calculations are correct.
Try it!
Convert Distance to CM - Mini Challenge
Mini Challenge 1:
Ruler Bot Challenge
Place three lines on a table a random distance apart.
The robot must travel to each line and store the distance each line is away from the other line.
So, for example, the robot needs to store the distance between line one and line two, the distance between line two and line three, etc.
When completing this challenge, place the lines next to the computer so the robot can remain plugged into the computer.
Therefore, the debugger screen can be used to check the measurements.
Virtual Robot
RulerBotVR.rbc
Physical Robot
RulerBot.rbc
Recreate the table below on any surface. Have the robot start at one end (1), then move forward towards the other end, storing the distance between each line. Remember to keep the robot plugged in in order to check the result.
Mini Challenge PDF
[ Ruler Bot Challenge.pdf ]