View Full Version : New Roborio, PDP, and CanTalons
cpapplefamily
12-12-2016, 22:16
Our pre-season robot finally was powered up tonight. A new Roborio (Imaged and Java JRE installed), New PDP, and New TalonSRX's. The PDP and TalonSRX are seen in the roboRIO Web-based Configuration and we updated the TalonSRX ID's to 1 and 2, The PDP is at ID 0 and all three devices are firmware updated. We used Robotbuilder to quickly create a two motor robotdrive with these TalonSRX speed controllers. Then generated the Java Code, Imported into eclips, and downloaded to the RoboRio.
Putting the Robot in test mode we get no response from the motors?
The lights on the PDP flash Green quickly = Robot is enabled
Light on the Talons Flash alternately orange = CAN bus detected, robot disabled
I'm milling though the documents. What am I missing?
Bkeeneykid
12-12-2016, 22:39
Our pre-season robot finally was powered up tonight. A new Roborio (Imaged and Java JRE installed), New PDP, and New TalonSRX's. The PDP and TalonSRX are seen in the roboRIO Web-based Configuration and we updated the TalonSRX ID's to 1 and 2, The PDP is at ID 0 and all three devices are firmware updated. We used Robotbuilder to quickly create a two motor robotdrive with these TalonSRX speed controllers. Then generated the Java Code, Imported into eclips, and downloaded to the RoboRio.
Putting the Robot in test mode we get no response from the motors?
The lights on the PDP flash Green quickly = Robot is enabled
Light on the Talons Flash alternately orange = CAN bus detected, robot disabled
I'm milling though the documents. What am I missing?
You have to initialize the CAN Talons through code for them to start in their non disabled state. Their getting the same signal they were getting when it was disabled since you're not sending any data to them.
cpapplefamily
12-12-2016, 23:20
I didn't look deep into the code but I bet my rookie coder picked TalonSRX (PWM) and not CAN Talon (CAN ID).
I will update you all when I get back to the school later in the week.
If you don't figure it out yourself, please post the code. As CAN is detected, software is the most likely culprit.
cpapplefamily
14-12-2016, 17:36
Sure enough that's what it was. "Motor controller was configured as a TalonSRX not CAN Talon" If anything hopefully this will help other. Check this off as a great off season lesson.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.