You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added the ability to create manually activated Triggers with Triggers.manual().
Added HID interface representing the Dualshock 4 controller (DualshockController). Can be created with HidInterface.newDualshockController,
Condition-based Triggers are now created from Scheduler.newTrigger.
ActionConfiguration now contains a set of ActionFlags which influence different behaviors.
ActionFlag.RUN_ON_DISABLED: when set, Action is allowed to run disabled modes (SchedulerMode.isDisabled returns true). When not set, the Action will be cancelled.
ActionFlag.PREFERRED_FOR_REQUIREMENTS: when set, the Action will not be interrupted due to requirements conflict. Attempting to start a new Action which conflicts with such Action will either cause an exception or put the new action in a wait queue for execution (depends on Scheduler implementation).
Analysis objects modified to reflect a strong API for identified targets.
Analysis.getDetectedTargets returns a list of Target objects.
IterativeRobot now contains implementable exit methods for control modes, called when leaving the current mode and entering a different control mode.
SynchronousSchedluer is deprecated now. A new implementation, SingleThreadedScheduler should be used instead.
Added new component flashlib.hid.sdl2 which uses SDL2 to interface with HID. The interface can be used with Sdl2Hid. Natives for using SDL2 should be installed before hand and JNI should be added from the com.github.tomtzook:jsdl2-jni artifact.
Added whenInterrupted callback for ActionGroup. Called when the group is interrupted.
ActionGroups implementations are no longer exposed directly. Use Scheduler.newActionGroup to create one instead.