View Single Post
  #11   Spotlight this post!  
Unread 02-04-2015, 09:49 PM
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Use of JoystickButton in Command Based does not activate PCM

Reformat/reimage the roboRIO. I had a really, really weird intermittent CPU usage and CAN bug that went away immediately after I deployed code or restarted it, but came back if I power cycled the roboRIO. It's exactly like you're describing- the code doesn't work right if the robot starts from a cold boot, but it works if the code is started after the controller fully powers on. Something different with CAN happens when the code is started by the deploy sequence vs. a cold boot.
Reply With Quote