From Lego to me:
Thanks for the video and the steps leading to the gyroscope issue when running downloaded code!
Here's an update of where we are in the investigation. We've been able to reproduce this issue with word block coding consistently on multiple robots with SPIKE Legacy firmware (HubOS 188.8.131.52).
When following the steps previously outlined, the gyroscope data does not update. Hub yaw/pitch/roll data is stuck at 0.
For now, the workaround is what you've pointed out in the video. Add a wait block right after the initial program start block. A minimum of 2 second wait is needed.
We are in the process of testing with Python and I suspect the results will be similar to what you've already found.
Also, interestingly, this issue is not reproducible with SPIKE App 3 firmware (HubOS 1.2.10).
Have a bricktastic day!
Good to know about just letting the hub wait/sit still for a few seconds before starting the program.
Also, I'm happy to clear up any confusion with firmware numbers. Yes, SPIKE App 3 has a lower number! It's because SPIKE App 3 has a complete rework of the firmware. So the versioning started a new. You can think of SPIKE Legacy and SPIKE App 3 firmware as two separate tracks.
As for upgrading to SPIKE App 3, for FLL teams, we recommend holding off for now because:
(1) No auto-conversion of SPIKE Legacy projects
So right now SPIKE Legacy projects are not compatible with SPIKE App 3 and vice-versa. Our SPIKE app team is working on a converter for an upcoming update in the Spring.
(2) No Python
A new Python API for SPIKE App 3 is being worked on. So it's not yet ready for SPIKE App 3. It will be part of a future update.
If you are having problems with your gyro, perhaps wait until Spring when the new software will be released. If you really need your robots right now, then absolutely be sure to boot the robot in a very stable place. Or be sure to let it sit steady for a few seconds after booting.
Also, do not update your robot to Spike App 3.x until further notice.
Anyway, I thought this would be helpful to some teams.
And have a Bricktastic Day!
Norfolk Collegiate O.A.K.S.