OCCRA
Go to Post ... as teammates we often get too into the craze of competition and forget that this wouldn't happen without so many dedicated people. - miketwalker [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, 09:16 PM
cpapplefamily's Avatar
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 733
cpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to behold
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, 09:39 PM
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
Chicago Transplant
AKA: Devin Keeney
FRC #1982 (Cougar Robotics)
Team Role: Alumni
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Chicago, Illinois
Posts: 674
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-2018: FRC 1982, Captain, Design Lead, Drive Coach
Gracious Professionalism, Industrial Design, 2018 Heartland Winner

Studying at the Illinois Institute of Technology
FTC/FTC Field Reset, FTC FTAA

Join the FRC Discord!
Reply With Quote
  #3   Spotlight this post!  
Unread 12-12-2016, 10:20 PM
cpapplefamily's Avatar
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 733
cpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to behold
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, 06:27 AM
GeeTwo GeeTwo is offline
In Transition
AKA: Gus Michel II
no team
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 5,833
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.
[Quoting brennonbrimhall]: We design a new robot every year, but we can't forget that we also design a new team every year as folks come and go.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-14-2016, 04:36 PM
cpapplefamily's Avatar
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 733
cpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to beholdcpapplefamily is a splendid one to behold
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 11:14 PM.

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


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