[wpimath] Move MathShared.h to wpimath/ directory

It was confusing to have it in math/ when the std <math> header exists.
This commit is contained in:
Peter Johnson
2020-08-07 09:38:43 -07:00
parent 8dc3d23831
commit f86417d791
12 changed files with 11 additions and 11 deletions

View File

@@ -26,7 +26,6 @@ includeOtherLibs {
^drake/
^hal/
^imgui
^math/
^mockdata/
^networktables/
^ntcore
@@ -36,4 +35,5 @@ includeOtherLibs {
^unsupported/
^vision/
^wpi/
^wpimath/
}

View File

@@ -16,8 +16,8 @@
#include <cameraserver/CameraServerShared.h>
#include <hal/FRCUsageReporting.h>
#include <hal/HALBase.h>
#include <math/MathShared.h>
#include <networktables/NetworkTableInstance.h>
#include <wpimath/MathShared.h>
#include "WPILibVersion.h"
#include "frc/DriverStation.h"

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "math/MathShared.h"
#include "wpimath/MathShared.h"
#include <wpi/mutex.h>

View File

@@ -7,7 +7,7 @@
#include "frc/kinematics/DifferentialDriveOdometry.h"
#include "math/MathShared.h"
#include "wpimath/MathShared.h"
using namespace frc;

View File

@@ -7,7 +7,7 @@
#include "frc/kinematics/MecanumDriveOdometry.h"
#include "math/MathShared.h"
#include "wpimath/MathShared.h"
using namespace frc;

View File

@@ -15,8 +15,8 @@
#include <wpi/ArrayRef.h>
#include <wpi/circular_buffer.h>
#include "math/MathShared.h"
#include "units/time.h"
#include "wpimath/MathShared.h"
namespace frc {

View File

@@ -9,9 +9,9 @@
#include "frc/kinematics/ChassisSpeeds.h"
#include "frc/kinematics/DifferentialDriveWheelSpeeds.h"
#include "math/MathShared.h"
#include "units/angle.h"
#include "units/length.h"
#include "wpimath/MathShared.h"
namespace frc {
/**

View File

@@ -13,7 +13,7 @@
#include "frc/geometry/Translation2d.h"
#include "frc/kinematics/ChassisSpeeds.h"
#include "frc/kinematics/MecanumDriveWheelSpeeds.h"
#include "math/MathShared.h"
#include "wpimath/MathShared.h"
namespace frc {

View File

@@ -17,8 +17,8 @@
#include "frc/geometry/Translation2d.h"
#include "frc/kinematics/ChassisSpeeds.h"
#include "frc/kinematics/SwerveModuleState.h"
#include "math/MathShared.h"
#include "units/velocity.h"
#include "wpimath/MathShared.h"
namespace frc {
/**

View File

@@ -7,7 +7,7 @@
#pragma once
#include "math/MathShared.h"
#include "wpimath/MathShared.h"
namespace frc {
template <size_t NumModules>

View File

@@ -7,8 +7,8 @@
#pragma once
#include "math/MathShared.h"
#include "units/time.h"
#include "wpimath/MathShared.h"
namespace frc {