Replace use of deprecated C Standard library headers in C++ code.
Change-Id: I9fa6630c7e4bdb2897df34d417635d8c7d8253bc
Signed-off-by: Tyler Chatow <tchatow@gmail.com>
diff --git a/y2017/constants.h b/y2017/constants.h
index b8bf70a..9c0f3c2 100644
--- a/y2017/constants.h
+++ b/y2017/constants.h
@@ -1,12 +1,11 @@
#ifndef Y2017_CONSTANTS_H_
#define Y2017_CONSTANTS_H_
-#include <stdint.h>
-#include <math.h>
+#include <cmath>
+#include <cstdint>
#include "frc971/constants.h"
#include "frc971/shooter_interpolation/interpolation.h"
-
#include "y2017/control_loops/drivetrain/drivetrain_dog_motor_plant.h"
#include "y2017/control_loops/superstructure/column/column_plant.h"
#include "y2017/control_loops/superstructure/hood/hood_plant.h"
@@ -90,8 +89,8 @@
control_loops::superstructure::hood::kOutputRatio /
constants::Values::kHoodEncoderRatio * kHoodEncoderCountsPerRevolution;
static constexpr ::frc971::constants::Range kHoodRange{
- -0.39 * M_PI / 180.0 - 0.01, 37.11 * M_PI / 180.0, (-0.39 + 1.0) * M_PI / 180.0,
- (37.11 - 1.0) * M_PI / 180.0};
+ -0.39 * M_PI / 180.0 - 0.01, 37.11 * M_PI / 180.0,
+ (-0.39 + 1.0) * M_PI / 180.0, (37.11 - 1.0) * M_PI / 180.0};
static constexpr double kTurretEncoderCountsPerRevolution = 256 * 4;
static constexpr double kTurretEncoderRatio = 11.0 / 94.0;