|
RIT VEXU Core API
|
#include <basic_command.h>
Public Member Functions | |
| BasicStopCommand (vex::motor &motor, vex::brakeType setting) | |
| Construct a new BasicMotorStop Command. | |
| bool | run () override |
| Runs the BasicMotorStop Command Overrides run command from AutoCommand. | |
AutoCommand wrapper class for BasicStopCommand Using the Vex hardware functions
| BasicStopCommand::BasicStopCommand | ( | vex::motor & | motor, |
| vex::brakeType | setting ) |
Construct a new BasicMotorStop Command.
Construct a BasicMotorStop Command.
| motor | The motor to stop |
| setting | The brake setting for the motor |
| motor | Motor to stop |
| setting | Braketype setting brake,coast,hold |
|
override |
Runs the BasicMotorStop Command Overrides run command from AutoCommand.
Runs the BasicMotorStop command Ovverides run command from AutoCommand.