mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
The wpimath library is a new library designed to separate the reusable math functionality from the common utility library (wpiutil) and the hardware-dependent library (wpilibc/j). Package names / include file names were NOT changed to minimize breakage. In a future year it would be good to revamp these for a more uniform user experience and to reduce the risk of accidental naming conflicts. While theoretically all of this functionality could be placed into wpiutil, several pieces of this library (e.g. DARE) are very time-consuming to compile, so it's nice to avoid this expense for users who only want cscore or ntcore. It also allows for easy future separation of build tasks vs number of workers on memory-constrained machines. This moves the following functionality from wpiutil into wpimath: - Eigen - ejml - Drake - DARE - wpiutil.math package (Matrix etc) - units And the following functionality from wpilibc/j into wpimath: - Geometry - Kinematics - Spline - Trajectory - LinearFilter - MedianFilter - Feed-forward controllers
41 lines
1.1 KiB
Groovy
41 lines
1.1 KiB
Groovy
pluginManagement {
|
|
repositories {
|
|
mavenLocal()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "com.gradle.enterprise" version "3.0"
|
|
}
|
|
|
|
// Set the flag to tell gradle to ignore unresolved headers
|
|
// Libraries like eigen and opencv use macro includes, which
|
|
// Gradle doesn't properly ignore, and completely disables
|
|
// Incremental includes. This flag makes those includes be ignored.
|
|
Properties props = System.getProperties();
|
|
props.setProperty("org.gradle.internal.native.headers.unresolved.dependencies.ignore", "true");
|
|
|
|
include 'wpiutil'
|
|
include 'ntcore'
|
|
include 'hal'
|
|
include 'cscore'
|
|
include 'wpimath'
|
|
include 'wpilibc'
|
|
include 'wpilibcExamples'
|
|
include 'wpilibcIntegrationTests'
|
|
include 'wpilibjExamples'
|
|
include 'wpilibjIntegrationTests'
|
|
include 'wpilibj'
|
|
include 'simulation:gz_msgs'
|
|
include 'simulation:frc_gazebo_plugins'
|
|
include 'simulation:halsim_gazebo'
|
|
include 'simulation:halsim_ds_socket'
|
|
include 'simulation:halsim_gui'
|
|
include 'cameraserver'
|
|
include 'cameraserver:multiCameraServer'
|
|
include 'wpilibOldCommands'
|
|
include 'wpilibNewCommands'
|
|
include 'myRobot'
|
|
include 'docs'
|