SPIKE Prime Tutorial 1.7: Force Sensor
Автор: LEGO Engineering
Загружено: 2020-07-28
Просмотров: 25181
Описание:
0:00 Overview
0:50 Blocks: Proportional Controller
3:47 Python: Proportional Controller
6:50 Blocks vs Python Comparison
SPIKE Prime Tutorials playlist: • SPIKE Prime Tutorials
👦 Video Created by Summer 2020 Multimedia Team (Jared Jaramillo, Hyejin Im)
🔎 Visit Us: http://www.legoengineering.com/
🔗 Tufts CEEO: https://ceeo.tufts.edu/
🎵 Music: https://www.bensound.com/
💻 Python Code
YouTube doesn't allow angled brackets, so in the "elif" statement make sure to replace the text with the correct symbols!
--------------------------------------------------------------------------------
while True:
newtons = force.get_force_newton()
motor.start(speed = newtons*10)
--------------------------------------------------------------------------------
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: