Holonomic Drive Task
Constructor for HolonomicDriveTask.
Parameters
The supplier for Robot velocity input
The holonomic drive to use, which you must ensure is holonomic as strafe commands will be called unlike the differential control task. This task will be auto-attached to this BunyipsSubsystem if possible.
A BooleanSupplier that returns whether field centric drive is enabled, note this will only work on a drive that has a Localizer attached to it.
Constructor for HolonomicDriveTask on an always disabled field-centric mode.
Parameters
The supplier for Robot velocity input
The holonomic drive to use, which you must ensure is holonomic as strafe commands will be called unlike the differential control task. This task will be auto-attached to this BunyipsSubsystem if possible.
Constructor for HolonomicDriveTask using a default Mecanum binding. Left stick controls translation, right stick controls rotation.
Parameters
The gamepad to use for driving in a standard configuration
The holonomic drive to use, which you must ensure is holonomic as strafe commands will be called unlike the differential control task. This task will be auto-attached to this BunyipsSubsystem if possible.
A BooleanSupplier that returns whether field centric drive is enabled, note this will only work on a drive that has a Localizer attached to it.
Constructor for HolonomicDriveTask using a default Mecanum binding. Field-centric mode is disabled by default. Left stick controls translation, right stick controls rotation.
Parameters
The gamepad to use for driving in a standard configuration
The holonomic drive to use, which you must ensure is holonomic as strafe commands will be called unlike the differential control task. This task will be auto-attached to this BunyipsSubsystem if possible.