Comparing LEGO SPIKE Prime Programming : Which Is Best for Robotics Competitions? - 3

Опубликовано: 18 Июнь 2026
на канале: Afrel Tech Blog
1,018
11

Does the Programming Environment Affect Rotation Accuracy? A 90° Test Using the Gyro Sensor
When using LEGO SPIKE Prime in robotics competitions, how much does the choice of programming environment affect rotation accuracy?
To investigate this, I conducted an experiment comparing different programming environments.

Tested Programming Environments
I compared the following four environments:
Word Blocks (SPIKE App 3)
Python (SPIKE App 3)
Python (Pybricks)
C Language (spike-rt)

Test Method
To compare the environments, I conducted the following test:
Use the hub’s gyro sensor to rotate the robot 90°
Measure the difference between the target angle (90°) and the actual rotation
Perform 10 trials for each environment and calculate the average error

You can find an explanation of this video in the article at the following website.
Instructables https://www.instructables.com/Compari...
Dev.to https://dev.to/_ff41734170f7cc70ac79/...
Hackster.io https://www.hackster.io/sunata-s0907/...