What is Photon?

package com.seattlesolvers.solverslib.photon

Photon parallelizes hardware writes for servos and motors to make your robot's loop times faster. This is a stable version of the now-archived PhotonCorearrow-up-right, that doesn't have probems.

circle-exclamation

How it Works

Normally with the SDK, after a setPower() or other LynxCommand, it waits for it to finish and check that it happened. But with Photon, after a setPower() or other LynxCommand, it immediately moves onto the next line of code/hardware write.

It is most effective with Swerve, because of the high amount of hardware writes frequently happening (4 servos + 4 motors).

Installation

See installation page.

Usage

See usage page.

Last updated