How do you fix oversteer

My robot keeps oversteering. How do you stop this?

As always a picture and in this case a video would really help.

Are you talking about driver or autonomous.

3 Likes

Your question isn’t very clear, so if you could clarify what you are asking, that would be amazing. But, if you are wondering how to help correct overshooting within code, an easy way to use a sensor like a gyro sensor combined with some code to help slow the robot down as it approaches the desired measurement. In slapshot, we based our turn code off this video by Caution Tape and, with some adjustments, it proved to be much more accurate than before. Hopefully, this answers your question, and if not, please respond with some clarifications!

2 Likes

Driver and autonomous

I believe it is referring to joycon drift?

In which case try recalibrating your controller or removing the part interfearing.

2 Likes

When talking about oversteer, this is pretty much what oversteer is:

Considering that, would OP be implying some sort of movement algorithm in autonomous?

2 Likes

Are you using PID?
Are you using tank drive or arcade controller input?
How long is the delay in your controller polling loop?

Ok, this thread is making me sad. You’ve given us 11 words to work with. How about we not play Robot Wordle, give us a 35+ word description of the problem and another 25 words about the robot.

Help us help you.

7 Likes

The robot has a very fast drivetrain that is 4wd and has two motors. When I controll the robot, it keeps veering off to a side and I try to drive it back to a straight line and it keeps oversteering

I can’t take pictures because I am not home

Great, we are all happy to wait for the pictures! You can also post the gear ratio that is set up when you do the pictures.

If the robot is veering to a side, most likely the motors on the drivetrain are in different conditions, which can be caused from using a motor that is older or more worn down than the other. Try swapping the motors on the drivetrain, preferably to two new motors. I’ve also found it useful to make a mark on my motors with a marker to be able to indicate if two motors are being used the same amount, that way if I am building a new drivetrain for example. I can ensure that the motors are running same.

In terms of oversteering, you can attempt to fix it in the code though idk how :sob:

If you have problems in auton, try coding a p loop or full pid. Great tutorial is caution tape’s video, which drumroll linked. Make sure to tune control values thoroughly.

1 Like

I keep seeing these two terms “tank drive” “arcade controller input”. Are they refer to automation vs driving? Or the “tank drive” drive train vs standard drive train?

Hi there, they refer to how inputs to the control sticks translate to wheel motion, and hence robot pose and location changes.
Tank drive refers to driving the robot as you would a military tank, which has a single track on each side. The left stick is used to move the wheels on the left backwards and forwards, so that would correspond to the left track. The right stick does the same for the right side. So if you pull the left stick back and push the right stick forward, the robot will yaw, or rotate about its vertical axis to the left. If you push both sticks forward, all wheels will roll forward, and so the robot will move forward relative to its pose.

Arcade mode involves using one stick to control pose and the other to drive forward or backward relative to the robot’s pose.
You then also have holonomic drive where you can control pose, and then move forwards and sideways relative to that pose by using, for example, one stick to control translation - forwards and sideways - and the other to control pose. Do some searching on youtube to find examples, then come back and ask any more questions you have.

1 Like

tank drive = left joystick controls left wheels, right joystick controls right wheels
arcade drive = left joystick controls fwd/back and turning, right joystick controls nothing
split arcade drive = left joystick controls fwd/back, right joystick controls turning

1 Like

ok, i fixed it. turns out that the gear ratio was too much and the motors couldnt handle it.

2 Likes

One thing that may be able to help is if you go in code and find the turn velocity block, turn it down. hope this helps