A simple and easy-to-use library, written in Kotlin, to aid in the process of localizing your robot using Distance Sensors! This library contains all the necessary calculations to localize on the FIRST Tech Challenge field in a "plug and play" style format!
- Efficient position estimation!
- Takes factors like sensor location and robot heading into account!
- Accounts for the 'corner cases problem', where all sensors are in use!
- Support for the RoadRunner library!
- Seamless integration into your code base!
- Four Sensor Localization!
- Secondary Localization fusion!
- Override for field max X and max Y (for remote/off-season challenge field geometry only)
To learn how to get setup, please visit our online documentation!
In your build.dependencies.gradle file, add jitpack into repositories section:
repositories {
...
maven { url 'https://jitpack.io' }
}
Then, add this into dependencies:
dependencies {
...
implementation 'com.github.AlphaGo16439:AGDistanceLocalization:v1.0.1'
}