View Single Post
  #3   Spotlight this post!  
Unread 08-02-2017, 14:34
ebernerrd ebernerrd is offline
Registered User
FRC #3236
 
Join Date: Jan 2017
Location: Franklin, MA
Posts: 8
ebernerrd is an unknown quantity at this point
Re: Command stops my teleop process

If I place a return statement at the end of the execute statement, should I be okay? Because at the moment I have something like this
Code:
TeleopDefault::Initialize(){
//some code
     button->WhenPressed(new DropGear());
     button->WhenReleased(this);
}
This almost works for now. I will look into it a bit further.
Reply With Quote