Frc 2020 coding

Hello, we are participating in FRC Infinite Recharge and I was wondering if it was possible to look at the current level going into the motor controller via code.

What motor controller are you using?

If you are using smart motor controllers you can usually get that information from their API.

If you are not. you can add a power distribution object into your robot code.

Something like:
PowerDistributionPanel pdp = new PowerDistributionPanel()

Once that is there you should be able to see the current of each PDP port in shuffle board sources area (see pic to see where I am talking about).

1 Like

Victor SPX


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.