rs1
March 5, 2025, 5:31am
8
If the problem persists after switching to two-stick (and after drive practice), consider coding expo driver control (exponential curving on the joysticks).
Hello everyone. I would like to share how I got my joysticks to be less sensitive for driver control.
Disclaimer: I know this has been explained before in previous topics, but I would like to explain how I did it. I want to emphasize that I am using split control with a 4-wheel drivetrain in this example.
First of all, a normal linear joystick function for a drivetrain looks a little bit like this:
[Screenshot 2023-10-02 at 09.16.19]
This follows a linear line. If you press the joystick 20%…
You can also use even powers if you adjust your calculation to include one instance of the absolute value of the control signal.
[Even Powers]
Hello VRC Teams of the world!
Exponential joystick curves, or simply “Expo Drive” is a method to enable fine control of a drivetrain while maintaining top speed. The concept has been around for years now, but has not changed much. That is, until now. I present to you LemLib’s implementation of Expo Drive.
This implementation works the same as typical Expo Drive in concept, a constant is raised to the power of x, where x is a scaled joystick input. However, I’ve made 2 enhancements: joystick de…
Hello everyone. Recently, my team made an exponential drive function for our robot’s drive base. It makes it easier to make small adjustments using the joysticks, while also allowing the robot to move at maximum power if necessary. I wanted to share it with the community.
First of all, let me explain what our drive base code looked like without exponential drive. There were two set____Drive functions that were used in the driver control section. For simplicity, I’ll only include the setLeftDriv…
1 Like