This repository contains a multi-module project that contains both core functionality of the Dairy project, and sub-libraries built on the project
This repository also contains a copy of the FTC Robot Controller project, to enable fast development, and a single repository combination of source code and implementation samples
Each section below will go over the appropriate installation instructions
A framework library for writing libraries for the FTC Robot Controller
- hooks into the workings of OpModes
- a small number of utilities for working with OpModes
- powerful dependency resolution features that allow for libraries to depend on each other, and correctly attach and mount to OpModes
- support for both OpModes and LinearOpModes (OpModes are preferred)
all Dairy libraries will also require you to have core installed at a minimum
- add
maven { url 'https://www.jitpack.io' }
to the bottom of yourrepositories
block in yourbuild.dependencies.gradle
- add
implementation 'com.github.Dairy-Foundation.Dairy:Core:<version tag>'
to the bottom of yourdependencies
block in yourbuild.dependencies.gradle
- run a gradle sync
a guide to using Dairy libraries in your OpModes can be found at Kotlin or Java
a guide to writing a library that works with DairyCore can be found at Kotlin or Java
A library that provides custom drivers for FTC hardware, and improves developer ergonomics around interacting with the hardwareMap
- port-based access to hardware objects
- ignores the config file
- separates encoders from motors
- powerful auto-updating motor controller frameworks
- improved gamepad objects
- nicer angle classes
with Core installed:
- add
implementation 'com.github.Dairy-Foundation.Dairy:Calcified:<version tag>'
to the bottom of yourdependencies
block in yourbuild.dependencies.gradle
- run a gradle sync
a guide to using Calcified in your OpModes can be found at Kotlin or Java
Dairy and Calcified are currently in open beta, and we would love to get feedback, especially if you run into any issues with the drivers, GitHub Issues should be set up shortly to provide a structured way of doing this, but for the moment, we can be found on the Unofficial FTC Discord Server, Or @Froze-n-Milk can be emailed via [email protected]