Mecanum Cmd
TeleOp drive control command vector drive power is calculated with the function: f(x) = max(0, s * x * (kx^3 - k + 1)) * sgn(x) e.g. xPower = max(0, xScalar * leftStick.x * (xCubic * leftStick.x ^ 3 - xCubic + 1) see the desmos graph for an understanding of it
See also
Parameters
KMecanumDrive reference
left gamepad joystick
right gamepad joystick
Constructors
Properties
Inherited properties
Functions
Inherited functions
Run n commands in parallel with this command, ending when all commands have ended
Pause for n seconds after this command ends
Runs n commands sequentially after this command
Cancel command. KScheduler.cancel
Runs n commands in parallel with this command, ending when this command ends
First part of running a command, called on start of command.
Schedule command. Syntax sugar for KScheduler.schedule
Wait until a condition has been fulfilled to run this command
Cancels this command after some time if not finished