Skip to content

Commit a3c7abf

Browse files
Update Robot.h
1 parent 3239275 commit a3c7abf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main/include/Robot.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#pragma once
99

10+
#define _USE_MATH_DEFINES
11+
1012
#include <cmath>
1113
#include <string>
1214
#include <iostream>
@@ -64,6 +66,9 @@ class Robot : public frc::TimedRobot {
6466
static constexpr double upSpeedFast = -.5;
6567
static constexpr double downSpeedNormal = -.04;
6668
static constexpr double downSpeedFast = -.03;
69+
static constexpr double flywheelIntake = .5;
70+
static constexpr double flywheelOutake = .5;
71+
static constexpr double f = 10;//Frequancy for acceleration
6772
//Analog PI (PWM)
6873
AnalogInput pi{0};
6974
Joystick fightStick{1};

0 commit comments

Comments
 (0)