When using joystick, my team wants our robot to move at full speed and slow down when turning. They haven’t figured out how to do this with block codes yet. Our robot has a 2:1 ratio chain gear.
Try experimenting with the turn velocity and drive velocity blocks in the VexCode.
1 Like
Okay. We use C++, so i’m not sure how much I can help you but i’ll give it a shot. If you’re using tank drive, you can put a function into the set drive velocity command that will check each joystick’s position
LeftSide.setVelocity(Controller1.axis3.position)
Pardon if the code isn’t prefect, but i’m not our teams coder, i am using what my teams coder showed me. Hope this helped!
Try dividing the turnspeed