Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addChild(String, Sendable) - Method in class com.uniforge.origin.command.SubsystemBase
-
Associates a
Sendablewith this Subsystem. - addCommands(Command...) - Method in class com.uniforge.origin.command.ParallelCommandGroup
-
Adds the given commands to the group.
- addCommands(Command...) - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
-
Adds the given commands to the group.
- addCommands(Command...) - Method in class com.uniforge.origin.command.ParallelRaceGroup
-
Adds the given commands to the group.
- addCommands(Command...) - Method in class com.uniforge.origin.command.SequentialCommandGroup
-
Adds the given commands to the group.
- addDataLoop(Runnable) - Static method in class com.uniforge.origin.datasystem.DataLooper
- addPeriodic(Runnable, double) - Method in class com.uniforge.origin.nova.Nova
- addPeriodic(Runnable, double, double) - Method in class com.uniforge.origin.nova.Nova
- addRequirements(Subsystem...) - Method in class com.uniforge.origin.command.Command
-
Adds the specified subsystems to the requirements of the command.
- alongWith(Command...) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a set of commands to run parallel to it, ending when the last command ends.
- andThen(Command...) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a set of commands to run after it in sequence.
- andThen(Runnable, Subsystem...) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a runnable to run after the command finishes.
- asProxy() - Method in class com.uniforge.origin.command.Command
-
Decorates this command to run "by proxy" by wrapping it in a
ProxyCommand. - autonomousExit() - Method in class com.uniforge.origin.nova.NovaBase
- autonomousInit() - Method in class com.uniforge.origin.nova.NovaBase
- autonomousPeriodic() - Method in class com.uniforge.origin.nova.NovaBase
B
- beforeStarting(Command) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with another command to run before this command starts.
- beforeStarting(Runnable, Subsystem...) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a runnable to run before this command starts.
C
- cancel() - Method in class com.uniforge.origin.command.Command
-
Cancels this command.
- cancel(Command...) - Method in class com.uniforge.origin.command.CommandScheduler
-
Cancels commands.
- cancelAll() - Method in class com.uniforge.origin.command.CommandScheduler
-
Cancels all commands that are currently scheduled.
- clearComposedCommands() - Method in class com.uniforge.origin.command.CommandScheduler
-
Clears the list of composed commands, allowing all commands to be freely used again.
- close() - Method in class com.uniforge.origin.command.CommandScheduler
- close() - Method in class com.uniforge.origin.nova.Nova
- close() - Method in class com.uniforge.origin.nova.NovaCore
- com.uniforge.origin.annotation - package com.uniforge.origin.annotation
- com.uniforge.origin.command - package com.uniforge.origin.command
- com.uniforge.origin.controlsystem - package com.uniforge.origin.controlsystem
- com.uniforge.origin.cradle - package com.uniforge.origin.cradle
- com.uniforge.origin.datasystem - package com.uniforge.origin.datasystem
- com.uniforge.origin.jni - package com.uniforge.origin.jni
- com.uniforge.origin.nova - package com.uniforge.origin.nova
- Command - Class in com.uniforge.origin.command
-
A state machine representing a complete action to be performed by the robot.
- Command() - Constructor for class com.uniforge.origin.command.Command
-
Default constructor.
- Command.InterruptionBehavior - Enum Class in com.uniforge.origin.command
-
An enum describing the command's behavior when another command with a shared requirement is scheduled.
- CommandCradle - Class in com.uniforge.origin.cradle
- CommandCradle(Command, int) - Constructor for class com.uniforge.origin.cradle.CommandCradle
- Commands - Class in com.uniforge.origin.command
-
Namespace for command factory methods.
- CommandScheduler - Class in com.uniforge.origin.command
-
The scheduler responsible for running
Commands. - compressStar(Supplier<T>) - Static method in class com.uniforge.origin.nova.NovaCore
-
Compresses star to create a Nova
- ConditionalCommand - Class in com.uniforge.origin.command
-
A command composition that runs one of two commands, depending on the value of the given condition when this command is initialized.
- ConditionalCommand(Command, Command, BooleanSupplier) - Constructor for class com.uniforge.origin.command.ConditionalCommand
-
Creates a new ConditionalCommand.
- ControlSystem - Class in com.uniforge.origin.controlsystem
-
Abstract class for ControlSystemBase
- ControlSystem() - Constructor for class com.uniforge.origin.controlsystem.ControlSystem
-
Constructor for ControlSystem
- ControlSystemBase - Class in com.uniforge.origin.controlsystem
-
The base for ControlSystems
- ControlSystemBase() - Constructor for class com.uniforge.origin.controlsystem.ControlSystemBase
- ControlSystemInterface - Interface in com.uniforge.origin.controlsystem
-
Interface for ControlSystem Class
D
- DataLooper - Class in com.uniforge.origin.datasystem
- DataLooper() - Constructor for class com.uniforge.origin.datasystem.DataLooper
- DataSystem - Class in com.uniforge.origin.datasystem
-
Abstract class for DataSystemBase
- DataSystem() - Constructor for class com.uniforge.origin.datasystem.DataSystem
-
Constructor for ControlSystem
- DataSystemBase - Class in com.uniforge.origin.datasystem
-
The base for DataSystems
- DataSystemBase() - Constructor for class com.uniforge.origin.datasystem.DataSystemBase
- DataSystemInterface - Interface in com.uniforge.origin.datasystem
-
Interface for DataSystem Class
- deadline(Command, Command...) - Static method in class com.uniforge.origin.command.Commands
-
Runs a group of commands at the same time.
- deadlineWith(Command...) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a set of commands to run parallel to it, ending when the calling command ends and interrupting all the others.
- defer(Supplier<Command>) - Method in interface com.uniforge.origin.command.Subsystem
-
Constructs a
DeferredCommandwith the provided supplier. - defer(Supplier<Command>, Set<Subsystem>) - Static method in class com.uniforge.origin.command.Commands
-
Runs the command supplied by the supplier.
- DeferredCommand - Class in com.uniforge.origin.command
-
Defers Command construction to runtime.
- DeferredCommand(Supplier<Command>, Set<Subsystem>) - Constructor for class com.uniforge.origin.command.DeferredCommand
-
Creates a new DeferredCommand that runs the supplied command when initialized, and ends when it ends.
- deferredProxy(Supplier<Command>) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that schedules the command returned from the supplier when initialized, and ends when it is no longer scheduled.
- disable() - Method in class com.uniforge.origin.command.CommandScheduler
-
Disables the command scheduler.
- disabledExit() - Method in class com.uniforge.origin.nova.NovaBase
- disabledInit() - Method in class com.uniforge.origin.nova.NovaBase
- disabledPeriodic() - Method in class com.uniforge.origin.nova.NovaBase
- driverStationConnected() - Method in class com.uniforge.origin.nova.NovaBase
E
- either(Command, Command, BooleanSupplier) - Static method in class com.uniforge.origin.command.Commands
-
Runs one of two commands, based on the boolean selector function.
- enable() - Method in class com.uniforge.origin.command.CommandScheduler
-
Enables the command scheduler.
- enableLiveWindowInTest(boolean) - Method in class com.uniforge.origin.nova.NovaBase
- end(boolean) - Method in class com.uniforge.origin.command.Command
-
The action to take when the command ends.
- end(boolean) - Method in class com.uniforge.origin.command.ConditionalCommand
- end(boolean) - Method in class com.uniforge.origin.command.DeferredCommand
- end(boolean) - Method in class com.uniforge.origin.command.FunctionalCommand
- end(boolean) - Method in class com.uniforge.origin.command.ParallelCommandGroup
- end(boolean) - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
- end(boolean) - Method in class com.uniforge.origin.command.ParallelRaceGroup
- end(boolean) - Method in class com.uniforge.origin.command.ProxyCommand
- end(boolean) - Method in class com.uniforge.origin.command.RepeatCommand
- end(boolean) - Method in class com.uniforge.origin.command.SelectCommand
- end(boolean) - Method in class com.uniforge.origin.command.SequentialCommandGroup
- end(boolean) - Method in class com.uniforge.origin.command.WaitCommand
- end(boolean) - Method in class com.uniforge.origin.command.WrapperCommand
-
The action to take when the command ends.
- endNova() - Method in class com.uniforge.origin.nova.Nova
- endNova() - Method in class com.uniforge.origin.nova.NovaBase
- endNova() - Method in class com.uniforge.origin.nova.NovaCore
-
Ends Nova code, stops
NovaCore.startNova() - errorDetected() - Method in class com.uniforge.origin.command.Command
- eStop() - Method in class com.uniforge.origin.cradle.CommandCradle
- eStop() - Method in class com.uniforge.origin.cradle.SubsystemCradle
- execute() - Method in class com.uniforge.origin.command.Command
-
The main body of a command.
- execute() - Method in class com.uniforge.origin.command.ConditionalCommand
- execute() - Method in class com.uniforge.origin.command.DeferredCommand
- execute() - Method in class com.uniforge.origin.command.FunctionalCommand
- execute() - Method in class com.uniforge.origin.command.ParallelCommandGroup
- execute() - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
- execute() - Method in class com.uniforge.origin.command.ParallelRaceGroup
- execute() - Method in class com.uniforge.origin.command.ProxyCommand
- execute() - Method in class com.uniforge.origin.command.RepeatCommand
- execute() - Method in class com.uniforge.origin.command.SelectCommand
- execute() - Method in class com.uniforge.origin.command.SequentialCommandGroup
- execute() - Method in class com.uniforge.origin.command.WrapperCommand
-
The main body of a command.
F
- finallyDo(BooleanConsumer) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a lambda to call on interrupt or end, following the command's inherent
Command.end(boolean)method. - finallyDo(Runnable) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a lambda to call on interrupt or end, following the command's inherent
Command.end(boolean)method. - forceLoad() - Static method in class com.uniforge.origin.jni.UniForgeJNI
-
Force load the library.
- FunctionalCommand - Class in com.uniforge.origin.command
-
A command that allows the user to pass in functions for each of the basic command methods through the constructor.
- FunctionalCommand(Runnable, Runnable, Consumer<Boolean>, BooleanSupplier, Subsystem...) - Constructor for class com.uniforge.origin.command.FunctionalCommand
-
Creates a new FunctionalCommand.
G
- getActiveButtonLoop() - Method in class com.uniforge.origin.command.CommandScheduler
-
Get the active button poll.
- getCurrentCommand() - Method in interface com.uniforge.origin.command.Subsystem
-
Returns the command currently running on this subsystem.
- getDefaultButtonLoop() - Method in class com.uniforge.origin.command.CommandScheduler
-
Get the default button poll.
- getDefaultCommand() - Method in interface com.uniforge.origin.command.Subsystem
-
Gets the default command for this subsystem.
- getDefaultCommand(Subsystem) - Method in class com.uniforge.origin.command.CommandScheduler
-
Gets the default command associated with this subsystem.
- getExtractOnStaticLoad() - Static method in class com.uniforge.origin.jni.UniForgeJNI.Helper
-
Get whether to load the driver on static init.
- getInstance() - Static method in class com.uniforge.origin.command.CommandScheduler
-
Returns the Scheduler instance.
- getInstance() - Static method in class com.uniforge.origin.controlsystem.ControlSystemBase
-
Returns the ControlSystemBase instance
- getInstance() - Static method in class com.uniforge.origin.datasystem.DataSystemBase
-
Returns the DataSystemBase instance
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.Command
-
How the command behaves when another command with a shared requirement is scheduled.
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.ConditionalCommand
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.ParallelCommandGroup
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.ParallelRaceGroup
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.RepeatCommand
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.SelectCommand
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.SequentialCommandGroup
- getInterruptionBehavior() - Method in class com.uniforge.origin.command.WrapperCommand
- getMainThreadId() - Static method in class com.uniforge.origin.nova.NovaCore
-
Returns main thread id
- getName() - Method in class com.uniforge.origin.command.Command
-
Gets the name of this Command.
- getName() - Method in interface com.uniforge.origin.command.Subsystem
-
Gets the subsystem name of this Subsystem.
- getName() - Method in class com.uniforge.origin.command.SubsystemBase
-
Gets the name of this Subsystem.
- getName() - Method in interface com.uniforge.origin.controlsystem.ControlSystemInterface
-
Returns the class name
- getName() - Method in interface com.uniforge.origin.datasystem.DataSystemInterface
-
Returns the class name
- getPeriod() - Method in class com.uniforge.origin.nova.NovaBase
- getRequirements() - Method in class com.uniforge.origin.command.Command
-
Specifies the set of subsystems used by this command.
- getRequirements() - Method in class com.uniforge.origin.command.WrapperCommand
-
Specifies the set of subsystems used by this command.
- getRuntime() - Static method in class com.uniforge.origin.nova.NovaUtils
-
Returns runtime type (kRoboRIO, kRoboRIO2, kSimulation)
- getSubsystem() - Method in class com.uniforge.origin.command.Command
-
Gets the subsystem name of this Command.
- getSubsystem() - Method in class com.uniforge.origin.command.SubsystemBase
-
Gets the subsystem name of this Subsystem.
H
- handleInterrupt(Runnable) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a lambda to call on interrupt, following the command's inherent
Command.end(boolean)method. - hasRequirement(Subsystem) - Method in class com.uniforge.origin.command.Command
-
Whether the command requires a given subsystem.
- Helper() - Constructor for class com.uniforge.origin.jni.UniForgeJNI.Helper
I
- idle(Subsystem...) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that does nothing until interrupted.
- ignoringDisable(boolean) - Method in class com.uniforge.origin.command.Command
-
Decorates this command to run or stop when disabled.
- initialize() - Method in class com.uniforge.origin.command.Command
-
The initial subroutine of a command.
- initialize() - Method in class com.uniforge.origin.command.ConditionalCommand
- initialize() - Method in class com.uniforge.origin.command.DeferredCommand
- initialize() - Method in class com.uniforge.origin.command.FunctionalCommand
- initialize() - Method in class com.uniforge.origin.command.ParallelCommandGroup
- initialize() - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
- initialize() - Method in class com.uniforge.origin.command.ParallelRaceGroup
- initialize() - Method in class com.uniforge.origin.command.ProxyCommand
- initialize() - Method in class com.uniforge.origin.command.RepeatCommand
- initialize() - Method in class com.uniforge.origin.command.SelectCommand
- initialize() - Method in class com.uniforge.origin.command.SequentialCommandGroup
- initialize() - Method in class com.uniforge.origin.command.WaitCommand
- initialize() - Method in class com.uniforge.origin.command.WrapperCommand
-
The initial subroutine of a command.
- initialize() - Static method in class com.uniforge.origin.jni.UniForgeJNI
-
Tells the driver to initialize.
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.Command
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.CommandScheduler
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.ConditionalCommand
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.DeferredCommand
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.ProxyCommand
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.RepeatCommand
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.SelectCommand
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.SequentialCommandGroup
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.SubsystemBase
- initSendable(SendableBuilder) - Method in class com.uniforge.origin.command.WaitCommand
- InstantCommand - Class in com.uniforge.origin.command
-
A Command that runs instantly; it will initialize, execute once, and end on the same iteration of the scheduler.
- InstantCommand() - Constructor for class com.uniforge.origin.command.InstantCommand
-
Creates a new InstantCommand with a Runnable that does nothing.
- InstantCommand(Runnable, Subsystem...) - Constructor for class com.uniforge.origin.command.InstantCommand
-
Creates a new InstantCommand that runs the given Runnable with the given requirements.
- isAutonomous() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if Autonomous but not enabled
- isAutonomous() - Static method in class com.uniforge.origin.nova.NovaState
-
Returns true if the robot is in autonomous mode.
- isAutonomousEnabled() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if Autonomous is enabled
- isComposed(Command) - Method in class com.uniforge.origin.command.CommandScheduler
-
Check if the given command has been composed.
- isDisabled() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if FMS is attached
- isDisabled() - Static method in class com.uniforge.origin.nova.NovaState
-
Returns true if the robot is disabled.
- isEnabled() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if enabled
- isEnabled() - Static method in class com.uniforge.origin.nova.NovaState
-
Returns true if the robot is enabled.
- isEStopped() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if EStopped
- isEStopped() - Static method in class com.uniforge.origin.nova.NovaState
-
Returns true if the robot is E-stopped.
- isFinished() - Method in class com.uniforge.origin.command.Command
-
Whether the command has finished.
- isFinished() - Method in class com.uniforge.origin.command.ConditionalCommand
- isFinished() - Method in class com.uniforge.origin.command.DeferredCommand
- isFinished() - Method in class com.uniforge.origin.command.FunctionalCommand
- isFinished() - Method in class com.uniforge.origin.command.ParallelCommandGroup
- isFinished() - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
- isFinished() - Method in class com.uniforge.origin.command.ParallelRaceGroup
- isFinished() - Method in class com.uniforge.origin.command.ProxyCommand
- isFinished() - Method in class com.uniforge.origin.command.RepeatCommand
- isFinished() - Method in class com.uniforge.origin.command.SelectCommand
- isFinished() - Method in class com.uniforge.origin.command.SequentialCommandGroup
- isFinished() - Method in class com.uniforge.origin.command.WaitCommand
- isFinished() - Method in class com.uniforge.origin.command.WaitUntilCommand
- isFinished() - Method in class com.uniforge.origin.command.WrapperCommand
-
Whether the command has finished.
- isFMSAttached() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if FMS is attached
- isLiveWindowEnabledInTest() - Method in class com.uniforge.origin.nova.NovaBase
- isNovaReal() - Static method in class com.uniforge.origin.nova.NovaUtils
-
Returns true if Nova is real
- isNovaSimulation() - Static method in class com.uniforge.origin.nova.NovaUtils
-
Returns true if Nova is a simulation
- isScheduled() - Method in class com.uniforge.origin.command.Command
-
Whether the command is currently scheduled.
- isScheduled(Command...) - Method in class com.uniforge.origin.command.CommandScheduler
-
Whether the given commands are running.
- isTeleop() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if teleop but not enabled
- isTeleop() - Static method in class com.uniforge.origin.nova.NovaState
-
Returns true if the robot is in teleop mode.
- isTeleopEnabled() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if Teleop is enabled
- isTest() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if Test but not enabled
- isTest() - Static method in class com.uniforge.origin.nova.NovaState
-
Returns true if the robot is in test mode.
- isTestEnabled() - Method in class com.uniforge.origin.nova.NovaCore
-
Returns true if Test is enabled
K
- kCancelIncoming - Enum constant in enum class com.uniforge.origin.command.Command.InterruptionBehavior
-
This command continues, and the incoming command is not scheduled.
- kCancelSelf - Enum constant in enum class com.uniforge.origin.command.Command.InterruptionBehavior
-
This command ends,
end(true)is called, and the incoming command is scheduled normally. - kDefaultPeriod - Static variable in class com.uniforge.origin.nova.Nova
L
- loop() - Static method in class com.uniforge.origin.controlsystem.ControlSystemBase
-
Loop function running all ControlSystem updates
- loop() - Static method in class com.uniforge.origin.datasystem.DataSystemBase
-
Loop function running all DataSystem updates
- loopFunction() - Method in class com.uniforge.origin.nova.NovaBase
M
- m_command - Variable in class com.uniforge.origin.command.WrapperCommand
-
Command being wrapped.
- m_requirements - Variable in class com.uniforge.origin.command.Command
-
Requirements set.
- m_timer - Variable in class com.uniforge.origin.command.WaitCommand
-
The timer used for waiting.
N
- none() - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that does nothing, finishing immediately.
- Nova - Class in com.uniforge.origin.nova
- Nova() - Constructor for class com.uniforge.origin.nova.Nova
- Nova(double) - Constructor for class com.uniforge.origin.nova.Nova
- NovaBase - Class in com.uniforge.origin.nova
- NovaBase(double) - Constructor for class com.uniforge.origin.nova.NovaBase
- NovaCore - Class in com.uniforge.origin.nova
- NovaCore() - Constructor for class com.uniforge.origin.nova.NovaCore
-
NovaCore protected constructor
- novaInit() - Method in class com.uniforge.origin.nova.NovaBase
- novaPeriodic() - Method in class com.uniforge.origin.nova.NovaBase
- NovaState - Class in com.uniforge.origin.nova
-
Robot state utility functions.
- NovaUtils - Class in com.uniforge.origin.nova
-
Static class for Nova Utilities
- NovaUtils() - Constructor for class com.uniforge.origin.nova.NovaUtils
O
- onCommandExecute(Consumer<Command>) - Method in class com.uniforge.origin.command.CommandScheduler
-
Adds an action to perform on the execution of any command by the scheduler.
- onCommandFinish(Consumer<Command>) - Method in class com.uniforge.origin.command.CommandScheduler
-
Adds an action to perform on the finishing of any command by the scheduler.
- onCommandInitialize(Consumer<Command>) - Method in class com.uniforge.origin.command.CommandScheduler
-
Adds an action to perform on the initialization of any command by the scheduler.
- onCommandInterrupt(BiConsumer<Command, Optional<Command>>) - Method in class com.uniforge.origin.command.CommandScheduler
-
Adds an action to perform on the interruption of any command by the scheduler.
- onCommandInterrupt(Consumer<Command>) - Method in class com.uniforge.origin.command.CommandScheduler
-
Adds an action to perform on the interruption of any command by the scheduler.
- onlyIf(BooleanSupplier) - Method in class com.uniforge.origin.command.Command
-
Decorates this command to only run if this condition is met.
- onlyWhile(BooleanSupplier) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a run condition.
P
- parallel(Command...) - Static method in class com.uniforge.origin.command.Commands
-
Runs a group of commands at the same time.
- ParallelCommandGroup - Class in com.uniforge.origin.command
-
A command composition that runs a set of commands in parallel, ending when the last command ends.
- ParallelCommandGroup(Command...) - Constructor for class com.uniforge.origin.command.ParallelCommandGroup
-
Creates a new ParallelCommandGroup.
- ParallelDeadlineGroup - Class in com.uniforge.origin.command
-
A command composition that runs a set of commands in parallel, ending only when a specific command (the "deadline") ends, interrupting all other commands that are still running at that point.
- ParallelDeadlineGroup(Command, Command...) - Constructor for class com.uniforge.origin.command.ParallelDeadlineGroup
-
Creates a new ParallelDeadlineGroup.
- ParallelRaceGroup - Class in com.uniforge.origin.command
-
A composition that runs a set of commands in parallel, ending when any one of the commands ends and interrupting all the others.
- ParallelRaceGroup(Command...) - Constructor for class com.uniforge.origin.command.ParallelRaceGroup
-
Creates a new ParallelCommandRace.
- periodic() - Method in interface com.uniforge.origin.command.Subsystem
-
This method is called periodically by the
CommandScheduler. - print(String) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that prints a message and finishes.
- PrintCommand - Class in com.uniforge.origin.command
-
A command that prints a string when initialized.
- PrintCommand(String) - Constructor for class com.uniforge.origin.command.PrintCommand
-
Creates a new a PrintCommand.
- ProxyCommand - Class in com.uniforge.origin.command
-
Schedules the given command when this command is initialized, and ends when it ends.
- ProxyCommand(Command) - Constructor for class com.uniforge.origin.command.ProxyCommand
-
Creates a new ProxyCommand that schedules the given command when initialized, and ends when it is no longer scheduled.
- ProxyCommand(Supplier<Command>) - Constructor for class com.uniforge.origin.command.ProxyCommand
-
Creates a new ProxyCommand that schedules the supplied command when initialized, and ends when it is no longer scheduled.
R
- race(Command...) - Static method in class com.uniforge.origin.command.Commands
-
Runs a group of commands at the same time.
- raceWith(Command...) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a set of commands to run parallel to it, ending when the first command ends.
- register() - Method in interface com.uniforge.origin.command.Subsystem
-
Registers this subsystem with the
CommandScheduler, allowing itsSubsystem.periodic()method to be called when the scheduler runs. - registerComposedCommands(Command...) - Method in class com.uniforge.origin.command.CommandScheduler
-
Register commands as composed.
- registerControlSystem(ControlSystem...) - Method in class com.uniforge.origin.controlsystem.ControlSystemBase
-
Registers all ControlSystems inputted
- registerDataSystem(DataSystem...) - Method in class com.uniforge.origin.datasystem.DataSystemBase
-
Registers all DataSystems inputted
- registerSubsystem(Subsystem...) - Method in class com.uniforge.origin.command.CommandScheduler
-
Registers subsystems with the scheduler.
- removeComposedCommand(Command) - Method in class com.uniforge.origin.command.CommandScheduler
-
Removes a single command from the list of composed commands, allowing it to be freely used again.
- removeDefaultCommand() - Method in interface com.uniforge.origin.command.Subsystem
-
Removes the default command for the subsystem.
- removeDefaultCommand(Subsystem) - Method in class com.uniforge.origin.command.CommandScheduler
-
Removes the default command for a subsystem.
- RepeatCommand - Class in com.uniforge.origin.command
-
A command that runs another command repeatedly, restarting it when it ends, until this command is interrupted.
- RepeatCommand(Command) - Constructor for class com.uniforge.origin.command.RepeatCommand
-
Creates a new RepeatCommand.
- repeatedly() - Method in class com.uniforge.origin.command.Command
-
Decorates this command to run repeatedly, restarting it when it ends, until this command is interrupted.
- repeatingSequence(Command...) - Static method in class com.uniforge.origin.command.Commands
-
Runs a group of commands in series, one after the other.
- requireNotComposed(Command...) - Method in class com.uniforge.origin.command.CommandScheduler
-
Requires that the specified command hasn't already been added to a composition.
- requireNotComposed(Collection<Command>) - Method in class com.uniforge.origin.command.CommandScheduler
-
Requires that the specified commands have not already been added to a composition.
- requireNotComposedOrScheduled(Command) - Method in class com.uniforge.origin.command.CommandScheduler
-
Requires that the specified command hasn't already been added to a composition, and is not currently scheduled.
- requireNotComposedOrScheduled(Collection<Command>) - Method in class com.uniforge.origin.command.CommandScheduler
-
Requires that the specified commands have not already been added to a composition, and are not currently scheduled.
- requiring(Subsystem) - Method in class com.uniforge.origin.command.CommandScheduler
-
Returns the command currently requiring a given subsystem.
- restart() - Method in class com.uniforge.origin.cradle.CommandCradle
- restart() - Method in class com.uniforge.origin.cradle.SubsystemCradle
- run() - Method in class com.uniforge.origin.command.CommandScheduler
-
Runs a single iteration of the scheduler.
- run() - Static method in class com.uniforge.origin.datasystem.DataLooper
- run(Runnable) - Method in interface com.uniforge.origin.command.Subsystem
-
Constructs a command that runs an action every iteration until interrupted.
- run(Runnable, Subsystem...) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that runs an action every iteration until interrupted.
- runAutoCradle() - Method in class com.uniforge.origin.cradle.CommandCradle
- runAutoCradle() - Method in class com.uniforge.origin.cradle.SubsystemCradle
- RunCommand - Class in com.uniforge.origin.command
-
A command that runs a Runnable continuously.
- RunCommand(Runnable, Subsystem...) - Constructor for class com.uniforge.origin.command.RunCommand
-
Creates a new RunCommand.
- runEnd(Runnable, Runnable) - Method in interface com.uniforge.origin.command.Subsystem
-
Constructs a command that runs an action every iteration until interrupted, and then runs a second action.
- runEnd(Runnable, Runnable, Subsystem...) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that runs an action every iteration until interrupted, and then runs a second action.
- runOnce(Runnable) - Method in interface com.uniforge.origin.command.Subsystem
-
Constructs a command that runs an action once and finishes.
- runOnce(Runnable, Subsystem...) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that runs an action once and finishes.
- runsWhenDisabled() - Method in class com.uniforge.origin.command.Command
-
Whether the given command should run when the robot is disabled.
- runsWhenDisabled() - Method in class com.uniforge.origin.command.ConditionalCommand
- runsWhenDisabled() - Method in class com.uniforge.origin.command.ParallelCommandGroup
- runsWhenDisabled() - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
- runsWhenDisabled() - Method in class com.uniforge.origin.command.ParallelRaceGroup
- runsWhenDisabled() - Method in class com.uniforge.origin.command.PrintCommand
- runsWhenDisabled() - Method in class com.uniforge.origin.command.ProxyCommand
-
Whether the given command should run when the robot is disabled.
- runsWhenDisabled() - Method in class com.uniforge.origin.command.RepeatCommand
- runsWhenDisabled() - Method in class com.uniforge.origin.command.SelectCommand
- runsWhenDisabled() - Method in class com.uniforge.origin.command.SequentialCommandGroup
- runsWhenDisabled() - Method in class com.uniforge.origin.command.WaitCommand
- runsWhenDisabled() - Method in class com.uniforge.origin.command.WaitUntilCommand
- runsWhenDisabled() - Method in class com.uniforge.origin.command.WrapperCommand
-
Whether the given command should run when the robot is disabled.
S
- schedule() - Method in class com.uniforge.origin.command.Command
-
Schedules this command.
- schedule(Command...) - Method in class com.uniforge.origin.command.CommandScheduler
-
Schedules multiple commands for execution.
- select(Map<K, Command>, Supplier<? extends K>) - Static method in class com.uniforge.origin.command.Commands
-
Runs one of several commands, based on the selector function.
- SelectCommand<K> - Class in com.uniforge.origin.command
-
A command composition that runs one of a selection of commands using a selector and a key to command mapping.
- SelectCommand(Map<K, Command>, Supplier<? extends K>) - Constructor for class com.uniforge.origin.command.SelectCommand
-
Creates a new SelectCommand.
- sequence(Command...) - Static method in class com.uniforge.origin.command.Commands
-
Runs a group of commands in series, one after the other.
- SequentialCommandGroup - Class in com.uniforge.origin.command
-
A command composition that runs a list of commands in sequence.
- SequentialCommandGroup(Command...) - Constructor for class com.uniforge.origin.command.SequentialCommandGroup
-
Creates a new SequentialCommandGroup.
- setActiveButtonLoop(EventLoop) - Method in class com.uniforge.origin.command.CommandScheduler
-
Replace the button poll with another one.
- setBackupCommand(Command) - Method in class com.uniforge.origin.cradle.CommandCradle
- setDeadline(Command) - Method in class com.uniforge.origin.command.ParallelDeadlineGroup
-
Sets the deadline to the given command.
- setDefaultCommand(Command) - Method in interface com.uniforge.origin.command.Subsystem
-
Sets the default
Commandof the subsystem. - setDefaultCommand(Subsystem, Command) - Method in class com.uniforge.origin.command.CommandScheduler
-
Sets the default command for a subsystem.
- setEnabled(boolean) - Static method in class com.uniforge.origin.datasystem.DataLooper
- setErrorDetected(boolean) - Method in class com.uniforge.origin.command.Command
-
Sets error boolean
- setExtractOnStaticLoad(boolean) - Static method in class com.uniforge.origin.jni.UniForgeJNI.Helper
-
Set whether to load the driver on static init.
- setName(String) - Method in class com.uniforge.origin.command.Command
-
Sets the name of this Command.
- setName(String) - Method in class com.uniforge.origin.command.SubsystemBase
-
Sets the name of this Subsystem.
- setNetworkTablesFlushEnabled(boolean) - Method in class com.uniforge.origin.nova.NovaBase
- setPeriod(double) - Method in class com.uniforge.origin.command.CommandScheduler
-
Changes the period of the loop overrun watchdog.
- setSubsystem(String) - Method in class com.uniforge.origin.command.Command
-
Sets the subsystem name of this Command.
- setSubsystem(String) - Method in class com.uniforge.origin.command.SubsystemBase
-
Sets the subsystem name of this Subsystem.
- simulationInit() - Method in class com.uniforge.origin.nova.NovaBase
- simulationPeriodic() - Method in interface com.uniforge.origin.command.Subsystem
-
This method is called periodically by the
CommandScheduler. - simulationPeriodic() - Method in class com.uniforge.origin.nova.NovaBase
- simUpdateControllers() - Method in interface com.uniforge.origin.controlsystem.ControlSystemInterface
-
Update controllers through a periodic request (simulation)
- simUpdateData() - Method in interface com.uniforge.origin.datasystem.DataSystemInterface
-
Update data through a periodic request (simulation)
- since() - Element in annotation interface com.uniforge.origin.annotation.WIP
- start() - Method in class com.uniforge.origin.cradle.CommandCradle
- start() - Method in class com.uniforge.origin.cradle.SubsystemCradle
- startBackup() - Method in class com.uniforge.origin.cradle.CommandCradle
- startEnd(Runnable, Runnable) - Method in interface com.uniforge.origin.command.Subsystem
-
Constructs a command that runs an action once and another action when the command is interrupted.
- startEnd(Runnable, Runnable, Subsystem...) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that runs an action once and another action when the command is interrupted.
- StartEndCommand - Class in com.uniforge.origin.command
-
A command that runs a given runnable when it is initialized, and another runnable when it ends.
- StartEndCommand(Runnable, Runnable, Subsystem...) - Constructor for class com.uniforge.origin.command.StartEndCommand
-
Creates a new StartEndCommand.
- startNova() - Method in class com.uniforge.origin.nova.Nova
- startNova() - Method in class com.uniforge.origin.nova.NovaBase
- startNova() - Method in class com.uniforge.origin.nova.NovaCore
-
Starts Nova code.
- stop() - Method in class com.uniforge.origin.cradle.CommandCradle
- stop() - Method in class com.uniforge.origin.cradle.SubsystemCradle
- stopBackup() - Method in class com.uniforge.origin.cradle.CommandCradle
- Subsystem - Interface in com.uniforge.origin.command
-
A robot subsystem.
- SubsystemBase - Class in com.uniforge.origin.command
-
A base for subsystems that handles registration in the constructor, and provides a more intuitive method for setting the default command.
- SubsystemBase() - Constructor for class com.uniforge.origin.command.SubsystemBase
-
Constructor.
- SubsystemBase(String) - Constructor for class com.uniforge.origin.command.SubsystemBase
-
Constructor.
- SubsystemCradle - Class in com.uniforge.origin.cradle
- SubsystemCradle(SubsystemBase, int) - Constructor for class com.uniforge.origin.cradle.SubsystemCradle
- suppressExitWarning(boolean) - Static method in class com.uniforge.origin.nova.NovaCore
-
SuppressExitWarnings
T
- teleopExit() - Method in class com.uniforge.origin.nova.NovaBase
- teleopInit() - Method in class com.uniforge.origin.nova.NovaBase
- teleopPeriodic() - Method in class com.uniforge.origin.nova.NovaBase
- testExit() - Method in class com.uniforge.origin.nova.NovaBase
- testInit() - Method in class com.uniforge.origin.nova.NovaBase
- testPeriodic() - Method in class com.uniforge.origin.nova.NovaBase
U
- UniForgeJNI - Class in com.uniforge.origin.jni
-
Demo class for loading the driver via JNI.
- UniForgeJNI() - Constructor for class com.uniforge.origin.jni.UniForgeJNI
- UniForgeJNI.Helper - Class in com.uniforge.origin.jni
-
Helper class for determining whether or not to load the driver on static initialization.
- unless(BooleanSupplier) - Method in class com.uniforge.origin.command.Command
-
Decorates this command to only run if this condition is not met.
- unregisterAllSubsystems() - Method in class com.uniforge.origin.command.CommandScheduler
-
Un-registers all registered Subsystems with the scheduler.
- unregisterSubsystem(Subsystem...) - Method in class com.uniforge.origin.command.CommandScheduler
-
Un-registers subsystems with the scheduler.
- until(BooleanSupplier) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with an interrupt condition.
- updateControllers() - Method in interface com.uniforge.origin.controlsystem.ControlSystemInterface
-
Update controllers through a periodic request
- updateData() - Method in class com.uniforge.origin.cradle.CommandCradle
- updateData() - Method in class com.uniforge.origin.cradle.SubsystemCradle
- updateData() - Method in interface com.uniforge.origin.datasystem.DataSystemInterface
-
Update data through a periodic request
V
- valueOf(String) - Static method in enum class com.uniforge.origin.command.Command.InterruptionBehavior
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.uniforge.origin.command.Command.InterruptionBehavior
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WaitCommand - Class in com.uniforge.origin.command
-
A command that does nothing but takes a specified amount of time to finish.
- WaitCommand(double) - Constructor for class com.uniforge.origin.command.WaitCommand
-
Creates a new WaitCommand.
- waitSeconds(double) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that does nothing, finishing after a specified duration.
- waitUntil(BooleanSupplier) - Static method in class com.uniforge.origin.command.Commands
-
Constructs a command that does nothing, finishing once a condition becomes true.
- WaitUntilCommand - Class in com.uniforge.origin.command
-
A command that does nothing but ends after a specified match time or condition.
- WaitUntilCommand(double) - Constructor for class com.uniforge.origin.command.WaitUntilCommand
-
Creates a new WaitUntilCommand that ends after a given match time.
- WaitUntilCommand(BooleanSupplier) - Constructor for class com.uniforge.origin.command.WaitUntilCommand
-
Creates a new WaitUntilCommand that ends after a given condition becomes true.
- WIP - Annotation Interface in com.uniforge.origin.annotation
- withInterruptBehavior(Command.InterruptionBehavior) - Method in class com.uniforge.origin.command.Command
-
Decorates this command to have a different
interruption behavior. - withName(String) - Method in class com.uniforge.origin.command.Command
-
Decorates this Command with a name.
- withTimeout(double) - Method in class com.uniforge.origin.command.Command
-
Decorates this command with a timeout.
- WrapperCommand - Class in com.uniforge.origin.command
-
A class used internally to wrap commands while overriding a specific method; all other methods will call through to the wrapped command.
- WrapperCommand(Command) - Constructor for class com.uniforge.origin.command.WrapperCommand
-
Wrap a command.
All Classes and Interfaces|All Packages|Constant Field Values