RIT VEXU Core API
Loading...
Searching...
No Matches
DriveStopCommand Class Reference

#include <drive_commands.h>

Inherits AutoCommand.

Public Member Functions

 DriveStopCommand (TankDrive &drive_sys)
 
bool run () override
 

Detailed Description

AutoCommand wrapper class for the stop() function in the TankDrive class

Constructor & Destructor Documentation

◆ DriveStopCommand()

DriveStopCommand::DriveStopCommand ( TankDrive & drive_sys)

Construct a DriveStop Command

Parameters
drive_systhe drive system we are commanding

Member Function Documentation

◆ run()

bool DriveStopCommand::run ( )
override

Stop the drive system Overrides run from AutoCommand

Returns
true when execution is complete, false otherwise

Stop the drive train Overrides run from AutoCommand

Returns
true when execution is complete, false otherwise

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