VEX IQ Coding help

Hi All…Posting for a student trying to troubleshoot for their Autonomous for VEX Code IQ.

Program looks like this:

When it’s downloaded onto the brain, this message pops up (sorry it’s blurry…it’s blurry on the brain screen):

Not sure what to do or where to make a correction. Should he use C++ or Python to download it instead? When looking at the code in either text language, no errors are showing up.

Thanks in advance for your help. BTW…this is for a Swish herobot.

I see a block with:
‘Set Drive Velocity to Infinity rpm’

The documentation on that block says:

Set drive velocity accepts a range of -100% to 100% or -127rpm to 127rpm .

That may not be the reason, but you can try changing it to:
‘Set Drive Velocity to 127 rpm’

image

2 Likes

Thanks! I didn’t look closely at the code…I’ll pass this along to the programmer. We’ll see if that solves the problem.

Is he using VexCode Blocks for this? There isn’t a place where you are choosing between those options if using the supported software.

Also, try using a repeat on the code. I see a few lines that are put on more than once. I’m not sure, but this may help a bit. And @SCFarrell there is actually a place where you can switch to C++ or Python on the supported software, VexCode IQ. To do this, you have to go to File, then select new text project.

1 Like