View Single Post
  #6   Spotlight this post!  
Unread 06-02-2015, 07:22
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,243
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: PCM IS NOT ENABLED

Quote:
Originally Posted by nighterfighter View Post
Is the CAN id for the PCM required to be 0 for C++?

Because unless an update changed something, the PDP is needed to be 0, in C++. There is no constructor in WPILib for the PowerDistributionPanel class to make the PDP anything other than 0. (http://www.chiefdelphi.com/forums/sh...d.php?t=133028 Read the 2nd post).

Edit: Ignore me.
It doesn't matter what language you use, the PCM controlling your compressor needs to be set with a CAN ID of 0. Mark explained how you can have PCM and PDP ID'd as 0.

You set the ID through the roboRIO web interface. More information on that can be found at http://wpilib.screenstepslive.com/s/...ribution-panel.