Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   New Roborio, PDP, and CanTalons (http://www.chiefdelphi.com/forums/showthread.php?t=152650)

cpapplefamily 12-12-2016 22:16

New Roborio, PDP, and CanTalons
 
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

Re: New Roborio, PDP, and CanTalons
 
Quote:

Originally Posted by cpapplefamily (Post 1620930)
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

Re: New Roborio, PDP, and CanTalons
 
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.

GeeTwo 13-12-2016 07:27

Re: New Roborio, PDP, and CanTalons
 
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

Re: New Roborio, PDP, and CanTalons
 
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.


All times are GMT -5. The time now is 04:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi