EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the...
-
Upload
khalil-bostwick -
Category
Documents
-
view
213 -
download
1
Transcript of EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the...
![Page 1: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/1.jpg)
EducateNXT
Navigation Accuracy4 Poles Challenge
Programming the EduBot before trialing on the course
![Page 2: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/2.jpg)
EducateNXT
How far am I going?Work out how far one “rotation” takes the robot.
Place a small mark on the bottom of the wheel.
Go forward one rotation.
Measure this distance
![Page 3: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/3.jpg)
EducateNXT
Checking using Circumference
One rotation is equal to the circumference of the wheel.
To measure the circumference, find the radius.
Circumference = 2 x π x radius
Substitute into the formula:
C = 2 x 3.14 x radius
C = distance of one rotation
![Page 4: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/4.jpg)
EducateNXT
Start
rC 2
Using Distance of a Rotation
How many rotations does it take to get to the corner?You may need to use decimals (eg. 3.5 rotations).
![Page 5: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/5.jpg)
EducateNXT
Now to get around the corner…
![Page 6: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/6.jpg)
EducateNXT
Another CalculationAssuming a pivot turn – one motor only – for
right wheel
Right wheel forward only
![Page 7: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/7.jpg)
EducateNXT
Another CalculationHow many rotations to get to Point A?
AA quarter turn
Right wheel forward only
![Page 8: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/8.jpg)
EducateNXT
Calculate Quarter-turn Distance
Circumference (C = 2πr)
divided by 4
Program in a left turn for your robot.
How many rotations is this for the right motor?
![Page 9: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/9.jpg)
EducateNXT
Good luck with the dotted (outside) line on the 4 Poles Course.
Try and program the EduBot for the whole dotted line course before trialing.
How far around the course did the EduBot go?
![Page 10: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/10.jpg)
EducateNXT
Start
At this point, a wide turn needs to be taken – and the programming gets
interesting!
Now for the Dashed Course…
![Page 11: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/11.jpg)
EducateNXT
28cm
28cm
120cm
120cm
In order to take the wide arch, the two wheels have to travel at a different velocity.
The steering slider in a Move Block is limited to 10 radius of curve turn.
A NEW PROGRAMMING TRICK IS REQUIRED
for more accurate curve turning
![Page 12: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/12.jpg)
EducateNXT
Before the programming tricks…Which set of wheels will create a turning circle with
the biggest radius?
The arrows’ lengths represent power.
A B
Answer
A – the closer the power of the two motors, the wider the turning arc
![Page 13: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/13.jpg)
EducateNXT
Programming a Curved TurnTwo ways
Split task Wait for time
![Page 14: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/14.jpg)
EducateNXT
Split TaskAllows two tasks to operate at the same time.
In this case, two Move blocks representing two separate motors.
Two forms of BranchingClick and drag from the starting point.
Midway in the program – click and drag while the Shift key is pressed.
![Page 15: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/15.jpg)
EducateNXT
Split Task (continued)Things to note:
Motor B and C have different powers.
2 different motors – B and C – both going forward
Duration is time (not rotations) – can you suggest why?
Try both and see.
![Page 16: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/16.jpg)
EducateNXT
Wait for timeTwo separate Move Blocks
(with different motors selected)
Have different powers
Second Curve Turn Technique
and are set to duration unlimited
![Page 17: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/17.jpg)
EducateNXT
Wait for Time (continued)
A “Wait for Time” block is added, and time for the curve turn selected.
You can begin accurate curve turning.
Choose your method.
![Page 18: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/18.jpg)
EducateNXT
Good luck with the dashed (inside) line on the 4 Poles Course!
![Page 19: EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649caf5503460f94972584/html5/thumbnails/19.jpg)
EducateNXT