Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
lehrkraefte:blc:informatik:glf20:robotik:pruegeli-challenge [2021/05/26 20:54] Ivo Blöchliger [Bis auf eine Distanz geradeaus fahren] |
lehrkraefte:blc:informatik:glf20:robotik:pruegeli-challenge [2021/05/28 10:41] Ivo Blöchliger |
||
---|---|---|---|
Line 8: | Line 8: | ||
<code python> | <code python> | ||
# Ultraschall Distanzsensor hinzufuegen | # Ultraschall Distanzsensor hinzufuegen | ||
- | us = UltrasonicSensor(SensorPort.S4) | + | us = UltrasonicSensor(SensorPort.S2) # Kontrollieren, |
robot.addPart(us) | robot.addPart(us) | ||
+ | |||
</ | </ | ||
Line 98: | Line 99: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Challenges ===== | ||
+ | Jetzt sollten Sie die Challenge 1 lösen können. | ||
+ | |||
+ | ==== Challenge 2 ==== | ||
+ | {{lehrkraefte: | ||
+ | |||
+ | Der Roboter startet beim grünen Pfeil, folgt der Linie bis vor die Mauer, fährt dann schräg daran vorbei bis zum Rand, dann wie Challange 1 | ||
+ | |||
+ | ==== Challenge 3 ==== | ||
+ | Wie Challenge 2, das Prügeli soll aber im rechten unteren Ecken (beim Startpunkt) abgelegt werden. | ||
+ | |||
+ | |||
+ |