View Single Post
  #7   Spotlight this post!  
Unread 02-04-2015, 06:42 PM
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 152
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Use of JoystickButton in Command Based does not activate PCM

If you are hearing the compressor start and your solenoid is in your command class(es), I think a simpler test is in order. Instantiate a Solenoid (or DoubleSolenoid) in the robot template code itself just for the sole purpose of seeing if the compressor will kick on. If it does, then there's a problem with how you're operating the commands. They can be tricky.

As for our simple example - I'm unaware if the team posted something that you're referring to. (blush).

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote