View Single Post
  #1   Spotlight this post!  
Unread 07-02-2017, 17:03
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
Command stops my teleop process

Hey there again!
I've been writing my program in a command-based format. This works fine until I try to run a program through a joystick button. My command runs, but halts my teleop program.

I am not sure what code is useful in this situation. My TeleopDefault.h and .cpp are my teleop control scheme, and I have other commands like "DropGear" and "DropFuel". When I use a joystick buttons' ->WhenPressed() to run the DropGear command, the TeleopDefault stops and does not return.

Any reason for this?
Thank you. I will post code if someone knows which files are needed to diagnose the problem.
-Eric
Reply With Quote