I’m trying to use Vexiq blockson an iPad using a drivetrain.
When use a turn 90 degrees block the drive train keeps on rotating without stopping. It doesn’t matter whether I use the gyro sensor or not. It seems that it is in an infinite loop. I tried all the different blocks but all give the same symptoms.
The gyro seems to work correct. But for whatever reason it seems that the input is not considered for the drive train and stops when the set degrees have been achieved. I also tried a different port but no difference
As a last resort I tried changing the direction of the drive train.
Guess what, it suddenly works, must be some bug in the compiler, it doesn’t make sense to me. Or do I have to put in a specific direction, it is now pointing down in the app.
We are having this same problem. We are NOT using a Gyro and have the wheel size, track width and wheelbase set to match our robot. The program ran fine until we updated the IQBlocks app on our iPad and now setting the right or left turns to 90 or 45 degrees results in the robot just spinning in circles. After trying various settings we found that the program seems to be multiplying the set number of degrees by a factor of ABOUT 45… in other words, setting the degrees to 1 results in about a 45 degree turn and setting it to 2 results in a turn of about 90 degrees. We have adjusted the program based on that and the program now works but it sure would be nice if this issue could be resolved so we could set the actual turn degrees I.e. 90 instead of 2.
@BoxerBots VEXcode IQ blocks 1.0.9 fixes this issue, be careful if you upgrade as the workaround you found would probably not work with this update, you would need to go back to using correct numbers.