OCCRA
Go to Post Our team calls me "John Regular Neun," because John V-Neun is so spectacular! - John Neun [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-12-2016, 10:16 PM
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 412
cpapplefamily is a jewel in the roughcpapplefamily is a jewel in the roughcpapplefamily is a jewel in the rough
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 12-12-2016, 10:39 PM
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (WCNC)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 546
Bkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant futureBkeeneykid has a brilliant future
Re: New Roborio, PDP, and CanTalons

Quote:
Originally Posted by cpapplefamily View Post
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.
__________________
2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead, Gracious Professionalism
Beginning FIRST Volunteer

Moderator on the FIRSTwiki

Reply With Quote
  #3   Spotlight this post!  
Unread 12-12-2016, 11:20 PM
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 412
cpapplefamily is a jewel in the roughcpapplefamily is a jewel in the roughcpapplefamily is a jewel in the rough
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-13-2016, 07:27 AM
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 4,895
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
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.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-14-2016, 05:36 PM
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 412
cpapplefamily is a jewel in the roughcpapplefamily is a jewel in the roughcpapplefamily is a jewel in the rough
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:41 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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