mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
SCRIPT Run cc include replacements
This commit is contained in:
committed by
Peter Johnson
parent
f0a3c64121
commit
7c6efa41ae
@@ -4,10 +4,10 @@
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
#include <wpi/jni_util.h>
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
#include "org_wpilib_math_jni_ArmFeedforwardJNI.h"
|
||||
#include "frc/controller/ArmFeedforward.h"
|
||||
#include "wpi/math/controller/ArmFeedforward.hpp"
|
||||
|
||||
using namespace wpi::java;
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
#include <wpi/jni_util.h>
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
#include "Exceptions.h"
|
||||
#include "Exceptions.hpp"
|
||||
#include "org_wpilib_math_jni_DAREJNI.h"
|
||||
#include "frc/DARE.h"
|
||||
#include "frc/fmt/Eigen.h"
|
||||
#include "wpi/math/linalg/DARE.hpp"
|
||||
#include "wpi/math/fmt/Eigen.hpp"
|
||||
|
||||
using namespace wpi::java;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <Eigen/Core>
|
||||
#include <Eigen/QR>
|
||||
#include <unsupported/Eigen/MatrixFunctions>
|
||||
#include <wpi/jni_util.h>
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
#include "org_wpilib_math_jni_EigenJNI.h"
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
#include <wpi/array.h>
|
||||
#include <wpi/jni_util.h>
|
||||
#include "wpi/util/array.hpp"
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
#include "org_wpilib_math_jni_Ellipse2dJNI.h"
|
||||
#include "frc/geometry/Ellipse2d.h"
|
||||
#include "wpi/math/geometry/Ellipse2d.hpp"
|
||||
|
||||
using namespace wpi::java;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "Exceptions.h"
|
||||
#include "Exceptions.hpp"
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <wpi/jni_util.h>
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
extern wpi::java::JException illegalArgEx;
|
||||
extern wpi::java::JException ioEx;
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
#include <jni.h>
|
||||
|
||||
#include <Eigen/Core>
|
||||
#include <wpi/jni_util.h>
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
#include "org_wpilib_math_jni_StateSpaceUtilJNI.h"
|
||||
#include "frc/StateSpaceUtil.h"
|
||||
#include "wpi/math/util/StateSpaceUtil.hpp"
|
||||
|
||||
using namespace wpi::java;
|
||||
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
#include <wpi/jni_util.h>
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
#include "org_wpilib_math_jni_Transform3dJNI.h"
|
||||
#include "frc/geometry/Quaternion.h"
|
||||
#include "frc/geometry/Rotation3d.h"
|
||||
#include "frc/geometry/Transform3d.h"
|
||||
#include "frc/geometry/Twist3d.h"
|
||||
#include "units/angle.h"
|
||||
#include "units/length.h"
|
||||
#include "wpi/math/geometry/Quaternion.hpp"
|
||||
#include "wpi/math/geometry/Rotation3d.hpp"
|
||||
#include "wpi/math/geometry/Transform3d.hpp"
|
||||
#include "wpi/math/geometry/Twist3d.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
|
||||
using namespace wpi::java;
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
#include <wpi/jni_util.h>
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
#include "org_wpilib_math_jni_Twist3dJNI.h"
|
||||
#include "frc/geometry/Transform3d.h"
|
||||
#include "frc/geometry/Twist3d.h"
|
||||
#include "units/angle.h"
|
||||
#include "units/length.h"
|
||||
#include "wpi/math/geometry/Transform3d.hpp"
|
||||
#include "wpi/math/geometry/Twist3d.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include "wpi/units/length.hpp"
|
||||
|
||||
using namespace wpi::java;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user