"Bike Prime" Programming Instructions
ProjectBucephalus
0:00 / 0:00
"Bike Prime" Programming Instructions
21 405 просмотров · 6 л. назад
ProjectBucephalus
599 подписчиков
21 405 просмотров · 6 л. назад
30.03.2021 NOTE: The recent Firmware update appears to have altered the way the Spike Prime Brick process information. If your model keep falling over, try the following changes:
1) Add a "Set Yaw to 0" before the variable initialisation
2) Set "Steer Power" Variable to 2.6 instead of 3
3) Set "Ki" Variable to -0.03 instead of 0.02
4) Set "Kd" Variable to 18 instead of 16
5) Set Movement Speed to 90% instead of 80%
***
Check out the How-To-Program video for the Project Bucephalus and Creator Academy "Bike Prime" model. See Bike Prime in action at • Meet "Bike Prime" (Project Bucephalus and ...
Developed in collaboration with Creator Academy, Bike Prime is a fun and unique demonstration of a self-balancing motorbike design on the LEGO® Education SPIKE™ Prime platform.
For building Bike Prime, please subscribe to Creator Academy and check out • Bike Prime Building Instructions
For an explanation of PID, check out • What Is PID Control? | Understanding PID C...
NOTE: This is the updated video that corrects an error in the original!
Help and Support: These are the most common problems encountered by students attempting to build and program their own Bike Prime model -
Problem: Bike wheel moving backwards instead of forwards.
Common Cause: Mainly because students reversed the motors when building OR used the wrong motor order in the ’set movement motors’ block.
Problem: Bike falls over almost immediately.
Common Cause 1: front wheel not built aligning with the 0 degree position on motor.
Common Cause 2: incorrectly inputting the math parameters in the ’set result’ block. Using ‘+’ instead of ‘*’, wrong brackets etc.
Common Cause 3: incorrectly setting gain values, or missing gain values blocks.
Problem: Bike doesn’t move
Common Cause: incorrect symbol for ‘repeat until bike falls’ block parameter. Using ‘less than‘ instead of ‘greater than’ etc
Problem: Bike travels a short distance before falling
Common Cause 1: floor is too smooth and slippery.
Common Cause 2: insufficient battery
Check the comments for more feedback and information!