Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. // RobotBuilder Version: 2.0
  2. //
  3. // This file was generated by RobotBuilder. It contains sections of
  4. // code that are automatically generated and assigned by robotbuilder.
  5. // These sections will be updated in the future when you export to
  6. // C++ from RobotBuilder. Do not put any code or make any change in
  7. // the blocks indicating autogenerated code or it will be lost on an
  8. // update. Deleting the comments indicating the section will prevent
  9. // it from being updated in the future.
  10.  
  11.  
  12. #include "ArcadeDrive.h"
  13.  
  14. // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR
  15.  
  16. ArcadeDrive::ArcadeDrive(): Command() {
  17. // Use requires() here to declare subsystem dependencies
  18. // eg. requires(Robot::chassis.get());
  19. // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES
  20. Requires(Robot::driveTrain.get());
  21. // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES
  22. }
  23. // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR
  24.  
  25. // Called just before this Command runs the first time
  26. void ArcadeDrive::Initialize() {
  27.  
  28. }
  29.  
  30. // Called repeatedly when this Command is scheduled to run
  31. void ArcadeDrive::Execute() {
  32.  
  33. }
  34.  
  35. // Make this return true when this Command no longer needs to run execute()
  36. bool ArcadeDrive::IsFinished() {
  37. return false;
  38. }
  39.  
  40. // Called once after isFinished returns true
  41. void ArcadeDrive::End() {
  42.  
  43. }
  44.  
  45. // Called when another command which requires one or more of the same
  46. // subsystems is scheduled to run
  47. void ArcadeDrive::Interrupted() {
  48.  
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement