Autonomous Motor Not Working

Nothing is detached and there isn’t anything blocking it. We switched the claw and the ring motor and the claw worked but then the ring motor didn’t. So we are pretty sure its something with the block.

make a separate “when auton” and just spin the motor in that
Disconnect the other one first though
If the motor doesn’t spin then you have a issue

1 Like

send me the project file, I’ll take a look.


I disconnected everything except the motor spinning and tested it but I haven’t made a new autonomous at all

1 Like

How do I share it with you?

I’ll let @jpearman handle it from here

Ok, thanks for trying

1 Like

find the project file, it ends with .v5blocks.
send it to me in a direct message, or if you don’t mind it being public, attach to a post in this topic (just drag the file into the reply window)

and are you up to date with latest version of VEXcode ? if not, let me know which version ( file->About )


Here is the link, let me know if it doesn’t work.

Left-Early1.v5blocks (28.5 KB)

We are also up to date on the latest version of VEXcode.

ok, I have that file.

You have claw control all over the place. You need to decide if the claw will be under control of the controller in the graphical configuration, or directly using code in driver control. But the most probable cause of your issue (I will run the code later) is putting claw control in the when started block (not to mention the multiple nested forever loops which make no sense, only the middle one of these will ever run).

The when started block is not started and stopped by competition control, so that loop will most likely be sending stop to the claw motor when the autonomous code is running.

I’ll run the project later and send back a simplified version with all the duplicated code removed.


Ok, I will also test it out later, so you are saying that we should take the forever loops out of the coding so that its only set up in the devices. But why does the Motor_Ring_Holder work if the Claw doesn’t?

choose one or the other, I would remove control from the controller device and just keep the code in driver control, but that code will need revising as it is currently incorrect.

because the only forever loop that’s executing is the one with the claw motor in, the final forever loop with the motor_ring_holder under both the whenStarted and WhenDriver hats will never execute.


Ok, ill try it out later tonight and get back to you!

1 Like

I would suggest something like this if you want to use code. I left the drivetrain as configured by the controller.

Left-Early1-rev1.v5blocks (22.0 KB)


Thank you so much for the help, we tested it and it worked!