Lego Spike Prime - Moving Using Python Code Tutorial

preview_player
Показать описание
Learn how to make your Lego Spike Prime robot move forward and backward with Python code.

Рекомендации по теме
Комментарии
Автор

I do Lego robotics so ima copy this Ty

cherryDeV
Автор

Thanks for the video! Very helpful. A couple questions: (1) Is there a way to make the coding interface provide auto-complete (a.k.a., hinting, intellisense)? (2) If not, can Microsoft's Visual Studio Code app be used with the Spike Prime instead of using the one from LEGO?

Will_Bain
Автор

Appreciate the video... and getting people introduced to Python with Spike. Very cool!  
Do you have any idea how to do acceleration in Python... 
looking for something similar to More Movement Block -- 'Set Movement Acceleration' either to smooth or balanced.  
This would be very useful both for forward and backwards as well as the left and right in your video following this.

DDDD
Автор

Hmmm...code doesn't work and our Python looks different than yours. Our default has async def main and when I try to import motorpair, it says no module named spike

markmarshall
Автор

Why I don't have the option of python in my Spike Prime software?

robwartseducation