Team138Entropy / Entropy2022

FIRST Robotics Team Entropy 138's code for the 2022 season
Other
3 stars 0 forks source link

Connect to the Power Distribution Board #3

Closed joecaraccio closed 2 years ago

joecaraccio commented 2 years ago

The power distribution board (pdp) we use is also capable of talking on the CAN bus (the communication bus that the talons and other devices use). The board is actually made by the same company that makes the talons.

http://www.ctr-electronics.com/pdp.html

We need to use this device better. By monitoring the current and voltage we can learn more about various subsystems of the robot.

Here is some example code using the WPILib:

https://github.com/wpilibsuite/allwpilib/blob/main/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/canpdp/Robot.java

In Robot.java (or in another class if you see fit) we need to complete these tasks:

joecaraccio commented 2 years ago

@averwhy was cooking last meeting