Vexcode IQ Blocks Drivetrain and deadband

Has anyone had any success using the built in drivetrain functionality and also creating a deadband on the left joystick.

I am familiar with the code that sets up motors individually and looks at A+B or A-B, but I am not sure how to set up a deadband if you are using the built in drivetrain.

If you’re not using the drivetrain, this is how you would zero out Axis A if it were between -4 and 4.

image

I would assume there is a deadband when you have the drivetrain, but I do not see a place to adjust it.

2 Likes