So I am going to have to try to relate what my daughter has been experiencing. I do not currently have screen shots, but I don’t think they are needed once I describe what seems to be going on.
In her autonomous she uses a When Started hat to set several touch sensors to colors, sets motor brakes to hold., etc She then uses 3 When hats to execute 3 different scoring portions. In one of those the robot just goes forward, lifts the green cube, puts it on the low platform then back away and puts the arm down. This works fine.
Another When hat is supposed to go forward, make a 90 degree turn to grab the blue cube then back up, make a slight turn and grab the last green cube. This is where the problem starts.
The robot would not turn a full 90 degrees. It would turn about 75. We tried moving the gyro, swapping out the gyro, changing the gyro port and using all 3 of the turn commands and the turn was exactly the same. So I told her, ok, just add some more to the turn so that it ends up at 90 degrees. So she set the turn to 110 degrees but it still stopped in the same place. I them told her to try 360 degrees and still the turn did not change. She then deleted all the programs from the brain and loaded her code again, with the turn still set to 360. It still only turned 75 degrees.
Each time it will execute the next part of the code, reversing towards the green cube, making a turn and lifting the elevator but changes to any of those commands do not seem to actually be getting used either.
I’m really confused at how it is making exactly the same turn AFTER she deleted the program.
Also, somewhere in there she tried just changing the color one of the touch sensors is set to and that DID work. It also worked when she changed it back. So I thought the problem could be somewhere in the When Started hat, but then I’m still confused about why it would do any of the When hats at all.
It’s like there is an old program in the brain that is not being written over?
She is using a Chromebook. She also says she doesn’t have to save each time, she just downloads and it automatically saves. In each of the tests she kept the program name the same and always loaded to slot 2.
Any ideas?
Thank you!