ASMESDC2018
Public Member Functions | Protected Attributes | List of all members
OffenseRobot Class Reference

#include <OffenseRobot.h>

Inheritance diagram for OffenseRobot:
Inheritance graph
[legend]
Collaboration diagram for OffenseRobot:
Collaboration graph
[legend]

Public Member Functions

 OffenseRobot (void)
 Default constructor. More...
 
void runShooter (void)
 Actuates the shooter based on input from the RC controller. More...
 
void displayShooterState (void)
 Displays the shooter state. More...
 
void updateLED (void)
 Updates LED colors based on robot state. More...
 
- Public Member Functions inherited from OmniRobot
 OmniRobot (void)
 Default constructor. More...
 
void runRobotModel (void)
 Executes the robot model based on input from the RC controller. More...
 
void displayRobotState (void)
 Displays the robot state. More...
 
void displayRCChannels (void)
 Displays all the values from the RC controller. More...
 
void updateRCChannels (void)
 Updates the RC controller values. More...
 
void updateLED (void)
 Updates LED colors based on robot state. More...
 

Protected Attributes

ShooterState shooter_state
 
Motor shoot_left
 
Motor shoot_right
 
Motor pusher
 
- Protected Attributes inherited from OmniRobot
OmniRobotState state
 
RCController6CH rc_controller
 
LED led
 
Motor drive_left
 
Motor drive_right
 
Motor drive_tail
 

Additional Inherited Members

- Public Attributes inherited from OmniRobot
bool ready = false
 

Detailed Description

Definition at line 36 of file OffenseRobot.h.

Constructor & Destructor Documentation

OffenseRobot::OffenseRobot ( void  )

Default constructor.

Author
Frederick Wachter
Date
Created: 2018-04-08

Definition at line 14 of file OffenseRobot.cpp.

Member Function Documentation

void OffenseRobot::displayShooterState ( void  )

Displays the shooter state.

Author
Frederick Wachter
Date
Created: 2018-03-15

Definition at line 57 of file OffenseRobot.cpp.

void OffenseRobot::runShooter ( void  )

Actuates the shooter based on input from the RC controller.

Author
Frederick Wachter
Date
Created: 2018-03-15

Definition at line 22 of file OffenseRobot.cpp.

void OffenseRobot::updateLED ( void  )

Updates LED colors based on robot state.

Author
Frederick Wachter
Date
Created: 2018-03-06

Definition at line 64 of file OffenseRobot.cpp.

Member Data Documentation

Motor OffenseRobot::pusher
protected

Definition at line 75 of file OffenseRobot.h.

Motor OffenseRobot::shoot_left
protected

Definition at line 73 of file OffenseRobot.h.

Motor OffenseRobot::shoot_right
protected

Definition at line 74 of file OffenseRobot.h.

ShooterState OffenseRobot::shooter_state
protected

Definition at line 71 of file OffenseRobot.h.


The documentation for this class was generated from the following files: