Skip to content

A 2D simulation and abstraction of WPILib code for FRC

Notifications You must be signed in to change notification settings

frc1444/robo-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 12, 2021
3017b00 · Jan 12, 2021
Jan 12, 2021
Jan 12, 2021
Jan 12, 2021
Dec 28, 2020
Jan 10, 2020
Feb 25, 2020
Jan 12, 2021
Jan 10, 2020
Jan 10, 2020
Feb 3, 2020
Jan 6, 2021
Sep 16, 2019
Dec 28, 2020
Dec 28, 2020
Jan 10, 2020

Repository files navigation

RoboSim

A 2D simulation and abstraction of WPILib code for FRC

Jitpack Link

About

This is a 2D simulation built using libGDX. To use this it is recommended to use very few features from WPILib because this project has many abstractions for many WPILib features.

Examples

Using

This is not recommended for use unless you know what you're doing.

Importing

Put this in the core robot code (the subproject that has no reference to WPI or LibGDX)

dependencies {
    implementation "com.github.frc1444.robo-sim:api:<VERSION or commit hash>"
}

Put this in the build.gradle for the root project (the project that has the WPI implementation)

dependencies {
    implementation "com.github.frc1444.robo-sim:wpi:<VERSION or commit hash>"
}

Put this in the gdx subproject (the subproject that has the LibGDX implementation)

dependencies {
    implementation "com.github.frc1444.robo-sim:gdx:<VERSION or commit hash>"
}