How to program a very fast robot(V5)?

Hello everyone. My team has just completed a drivetrain however we have an issue. Because the robot drives so fast it is very difficult to control it. We don’t want to just lower the speed for the robot as the speed is useful, however it is very annoying when we are trying to maneuver. Are there any effective ways to allow the robot to drive at its max speed, but still allow for slow and precise turns?

If you are having problems controlling on straight lines, maybe the drivetrain is too fast

Tell us the gear ratio, motor cartridges and wheel size of your bot (provide a picture and tell us)

If the turning is too fast, the code can be changed to lower the turning velocity

Tell us what programming software you use so we can help you further

The problem is not the robot being hard to control on straight lines. The problem is there not really being a way to control the robot slow and fast simultaneously. For example I might need to drive the robot to the other side of the field and for it to be fast. However I might also want to maneuver and line up at a goal more on the slower side. Even if I move the joystick slightly the robot still moves a lot, but I don’t want to lower the drivetrain speed as this will impact how easily the robot can traverse the field. Thanks.

1 Like

Check your weight distribution try to increase weight but not size This seems to be an issue which code may not be able to solve instead focus on things like gear ratio, weight, and motor caridges

You could implement an exponential drive system. With the default joystick bindings, the control the robot’s speed linearly, but you can pass the values through an exponential function. This will make it to where if you slowly move the joysticks it is much easier to actually move slowly.
Guide to Exponential Drive Function

If it’s just driving that’s difficult, I found it helpful to lower the speed to something more comfortable and practice on that. Then slowly add 10% when the speeds become easier

4 Likes

Thanks, that looks kina like something I am looking for.

1 Like