@Teleop
and @Autonomous
annotations, and to find methods that are annotated
with the internal hook annotations.
Unfortunately, to add your own classpath scanning, you need to modify the
FTCRobotControllerActivity class, which must be done manually for all users.
Sinister takes a different approach, Sinister starts in the OnCreate
stage,
and performs its own classpath scanning, in the same manner that the FTC SDK
does, but instead is ‘Bootstrapping’. Sinister looks for static instances of
SinisterFilter
, and runs those found filters on the classes as well.
Sinister is used in Dairy to:
Feature
s, Mercurial’s Subsystem
s)SinisterFilter
).TeamCode
’s build.gradle
, above dependencies
.
dependencies
block: