ASMESDC2018
Classes | Macros
/home/swerve/Github/sdc_2018/omni_robot/OffenseRobot.h File Reference

Header file for OffenseRobot class derived from the OmniRobot class More...

#include "OmniRobot.h"
Include dependency graph for OffenseRobot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ShooterState
 
class  OffenseRobot
 

Macros

#define BLDC_DELAY   10
 
#define PIN_PWM_SHOOT_LEFT   6
 
#define PIN_PWM_SHOOT_RIGHT   5
 
#define PIN_PWM_PUSHER   7
 
#define PUSHER_INPUT_MIN   -50
 
#define PUSHER_OUTPUT_MIN   1450
 
#define PUSHER_OUTPUT_MAX   1700
 
#define SHOOT_INPUT_CAPTURE_THRESH   75
 
#define SHOOT_INPUT_OFF_THRESH   0
 
#define SHOOT_INPUT_SHOOT_THRESH   -75
 
#define SHOOT_OUTPUT_CAPTURE   1550
 
#define SHOOT_OUTPUT_OFF   1500
 
#define SHOOT_OUTPUT_SHOOT   1200
 

Detailed Description

Header file for OffenseRobot class derived from the OmniRobot class

Author
Frederick Wachter - wacht.nosp@m.erfr.nosp@m.eddy@.nosp@m.gmai.nosp@m.l.com
Date
Created: 2018-04-08

Definition in file OffenseRobot.h.

Macro Definition Documentation

#define BLDC_DELAY   10

Definition at line 13 of file OffenseRobot.h.

#define PIN_PWM_PUSHER   7

Definition at line 17 of file OffenseRobot.h.

#define PIN_PWM_SHOOT_LEFT   6

Definition at line 15 of file OffenseRobot.h.

#define PIN_PWM_SHOOT_RIGHT   5

Definition at line 16 of file OffenseRobot.h.

#define PUSHER_INPUT_MIN   -50

Definition at line 19 of file OffenseRobot.h.

#define PUSHER_OUTPUT_MAX   1700

Definition at line 21 of file OffenseRobot.h.

#define PUSHER_OUTPUT_MIN   1450

Definition at line 20 of file OffenseRobot.h.

#define SHOOT_INPUT_CAPTURE_THRESH   75

Definition at line 23 of file OffenseRobot.h.

#define SHOOT_INPUT_OFF_THRESH   0

Definition at line 24 of file OffenseRobot.h.

#define SHOOT_INPUT_SHOOT_THRESH   -75

Definition at line 25 of file OffenseRobot.h.

#define SHOOT_OUTPUT_CAPTURE   1550

Definition at line 27 of file OffenseRobot.h.

#define SHOOT_OUTPUT_OFF   1500

Definition at line 28 of file OffenseRobot.h.

#define SHOOT_OUTPUT_SHOOT   1200

Definition at line 29 of file OffenseRobot.h.