Robbo: различия между версиями

Материал из Поле цифровой дидактики
Нет описания правки
Строка 14: Строка 14:
turn motors on for (1) secs :: #4A3
turn motors on for (1) secs :: #4A3
</scratchblocks>
</scratchblocks>
<scratchblocks>
<scratchblocks>
turn motors on :: #4A3
turn motors on :: #4A3
</scratchblocks>
</scratchblocks>
<scratchblocks>
<scratchblocks>
turn motors off :: #4A3
turn motors off :: #4A3
</scratchblocks>
</scratchblocks>
<scratchblocks>
<scratchblocks>
set Robot direction [forward v] :: #4A3
set Robot direction [forward v] :: #4A3
</scratchblocks>
</scratchblocks>
<scratchblocks>
<scratchblocks>
turn motors on for (10) steps :: #4A3
turn motors on for (10) steps :: #4A3
</scratchblocks>
</scratchblocks>
<scratchblocks>
<scratchblocks>
reset trip meters :: #4A3
reset trip meters :: #4A3

Версия от 15:37, 5 декабря 2022



РОББО Робоплатформа с дополнениями — это роботехнический конструктор, созданный для обучения как детей, так и взрослых программированию и робототехнике с помощью программирования микроконтроллеров и обработки информации с различных датчиков.


  • Совместимые языки программирования Scratch, Python



Программирование Robbo из Scratch

Blocks

turn motors on for (1) secs :: #4A3
turn motors on :: #4A3
turn motors off :: #4A3
set Robot direction [forward v] :: #4A3
turn motors on for (10) steps :: #4A3
reset trip meters :: #4A3
turn cw (15) degrees :: #4A3
turn @turnLeft (15) degrees :: #4A3
set motors power (100) % :: #4A3
set motors power L (100) R (100) % :: #4A3
L [forward v] R [forward v] set power L (100) R (100) :: #4A3
(Robot [sensor 1 v] :: #4A3)
<Robot start button pressed? :: #4A3>
turn Robot led in [position 1 v] on :: #4A3
turn Robot led in [position 1 v] off :: #4A3