OCCRA
Go to Post HEY! a robot that occupies 4 dimensional space is against the rules! - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 11-14-2017, 08:54 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 327
Bpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond repute
Talon SRX Stand Alone?

Is there any tool that allows you to run a Talon SRX by itself. Similar to how you can run a PWM motor controller with http://www.andymark.com/product-p/am-2671.htm. This would be really nice if you could and still access all the controller nice motor controller feature the Talon SRX has.
__________________
2016 Tesla Division Finalist
2016 Central Illinois Regional Finalist
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #2   Spotlight this post!  
Unread 11-14-2017, 09:12 AM
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 638
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Talon SRX Stand Alone?

That product is using an Arduino controller to send the pwm to the motor controller, in a nice package. CTRE sells the Hero controller, to talk CAN to the SRX in much the same manner.

http://www.ctr-electronics.com/control-system/hro.html

You need to come up with the nice packaging, and the potentiometer.
__________________
The sooner we get behind schedule, the more time we have to catch up.
- Archimedes - Thanks 1058, 67, & 1640
- 6th Alliance Captain
- 3rd Alliance Captain - Finalist
- 4th Alliance Captain
- RANK 29
Reply With Quote
  #3   Spotlight this post!  
Unread 11-14-2017, 09:12 AM
pkrishna3082's Avatar
pkrishna3082 pkrishna3082 is offline
love/hate relationship with swerve
AKA: Parthiv Krishna
FRC #3082 (Chicken Bot Pie)
Team Role: Programmer
 
Join Date: Mar 2017
Rookie Year: 2016
Location: Minnetonka, MN, USA
Posts: 203
pkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond repute
Re: Talon SRX Stand Alone?

You could either use the Motor Meter connected to the SRX, if you use it in PWM mode, OR you can use the CTRE Hero which has CANTalon support built in. Alternatively you could use any other CAN-enabled microcontroller development board, but you'd probably have to make a library.

edit: sniped
__________________
2010-2011: FLL 11083, 13873 (Minnetonka Silver) - Programmer
2016-: FRC 3082 (Chicken Bot Pie) - Captain, Programming Lead, Driver, 2017 Dean's List Finalist
2017-: FTC 13471 (Minnetonka) - Mentor
2017-: FIRST Volunteer - 2017 North Champs Student Ambassador
Reply With Quote
  #4   Spotlight this post!  
Unread 11-14-2017, 09:15 AM
firecrafty's Avatar
firecrafty firecrafty is offline
Registered User
AKA: Ryan Blue
FRC #1018 (Pike RoboDevils)
Team Role: Programmer
 
Join Date: Feb 2017
Rookie Year: 2016
Location: Indianapolis
Posts: 102
firecrafty will become famous soon enoughfirecrafty will become famous soon enough
Re: Talon SRX Stand Alone?

There is not a way to run a TalonSRX over CAN (with control loops, voltage ramping, etc.) without a RoboRIO or CTRE's own Hero board. However, you can still use the SRX in PWM mode using the product you mentioned.

edit: sniped so hard
__________________

"Programming is a science. Writing beautiful code is an art."
Any views I express are my own and do not necessarily reflect those of my team.

Last edited by firecrafty : 11-14-2017 at 09:16 AM. Reason: sniped
Reply With Quote
  #5   Spotlight this post!  
Unread 11-14-2017, 09:16 AM
brian5115's Avatar
brian5115 brian5115 is offline
Registered User
FRC #5115 (Knight Riders)
Team Role: Leadership
 
Join Date: Sep 2016
Rookie Year: 2015
Location: Maryland
Posts: 31
brian5115 is on a distinguished road
Re: Talon SRX Stand Alone?

My question would be what exact features you need, and in what situation is it too much work to do with a RoboRIO?

We use a Thrifty Throttle mainly to test prototypes, and in those cases we're not trying to do any kind of closed feedback, voltage compensation, etc. that we do on the finished mechanism. It's possible to wire a Talon SRX to take a PWM signal, but I wouldn't dedicate such an expensive part to something that a Spark or Victor can do the same.

If you want to avoid writing code, you can do some stuff with the Talons through the RoboRIO web interface (I haven't looked into this very much beyond "blink LED" to make sure I have the right id's). But it sounds to me like you want to cut out most of the control system entirely. I don't think there's any easy way to do that.
__________________


2016:
District Event Winner - Northern Maryland
Excellence in Engineering - Northern Maryland

2017:
District Event Winner - Central Maryland
Reply With Quote
  #6   Spotlight this post!  
Unread 11-14-2017, 09:26 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 327
Bpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond repute
Re: Talon SRX Stand Alone?

Quote:
Originally Posted by brian5115 View Post
My question would be what exact features you need, and in what situation is it too much work to do with a RoboRIO?

We use a Thrifty Throttle mainly to test prototypes, and in those cases we're not trying to do any kind of closed feedback, voltage compensation, etc. that we do on the finished mechanism. It's possible to wire a Talon SRX to take a PWM signal, but I wouldn't dedicate such an expensive part to something that a Spark or Victor can do the same.

If you want to avoid writing code, you can do some stuff with the Talons through the RoboRIO web interface (I haven't looked into this very much beyond "blink LED" to make sure I have the right id's). But it sounds to me like you want to cut out most of the control system entirely. I don't think there's any easy way to do that.
what i would like to do i have a setup so we could tune a PID controller really fast for prototypes using the web interface without having to write any code. Since we do not have many Roborio around. This could also be a easy way to teach students how PID work
__________________
2016 Tesla Division Finalist
2016 Central Illinois Regional Finalist
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #7   Spotlight this post!  
Unread 11-14-2017, 10:15 AM
firecrafty's Avatar
firecrafty firecrafty is offline
Registered User
AKA: Ryan Blue
FRC #1018 (Pike RoboDevils)
Team Role: Programmer
 
Join Date: Feb 2017
Rookie Year: 2016
Location: Indianapolis
Posts: 102
firecrafty will become famous soon enoughfirecrafty will become famous soon enough
Re: Talon SRX Stand Alone?

Quote:
Originally Posted by Bpk9p4 View Post
what i would like to do i have a setup so we could tune a PID controller really fast for prototypes using the web interface without having to write any code. Since we do not have many Roborio around. This could also be a easy way to teach students how PID work
You can't tune PID with the web interface, it does require code to work. To teach PID you could use an Arduino, but that requires some overhead. I would recommend setting up a test bench type setup with a few motors and sensors and a RoboRIO and using PID to control the motors (set to a certain position, hold at a set speed).
__________________

"Programming is a science. Writing beautiful code is an art."
Any views I express are my own and do not necessarily reflect those of my team.
Reply With Quote
  #8   Spotlight this post!  
Unread 11-14-2017, 11:19 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 327
Bpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond repute
Re: Talon SRX Stand Alone?

Quote:
Originally Posted by firecrafty View Post
You can't tune PID with the web interface, it does require code to work. To teach PID you could use an Arduino, but that requires some overhead. I would recommend setting up a test bench type setup with a few motors and sensors and a RoboRIO and using PID to control the motors (set to a certain position, hold at a set speed).
Good to know. We currently do the test setup with the roborio just would be nice to get a cheap version so we could have a more 1 to 1 robot to student ratio
__________________
2016 Tesla Division Finalist
2016 Central Illinois Regional Finalist
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #9   Spotlight this post!  
Unread 11-14-2017, 11:29 AM
phurley67's Avatar
phurley67 phurley67 is offline
Programming Mentor
AKA: Patrick Hurley
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 113
phurley67 will become famous soon enough
Re: Talon SRX Stand Alone?

As mentioned the HERO board, which has a number of modules including a screen, can be had pretty cheap (especially relative to the price of a RoboRIO), but the packaging and the code for a nice interface (the HERO programs in C#) is on you.

Having a code/rio free method to tune PIDs on the talon would be nice. I bet by the time I get around to it, CTR will have their own version better than the one I will throw together.
__________________
Lightning Robotics -- Give me an Aaaaa

Reply With Quote
  #10   Spotlight this post!  
Unread 11-14-2017, 01:22 PM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 327
Bpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond repute
Re: Talon SRX Stand Alone?

Quote:
Originally Posted by phurley67 View Post
As mentioned the HERO board, which has a number of modules including a screen, can be had pretty cheap (especially relative to the price of a RoboRIO), but the packaging and the code for a nice interface (the HERO programs in C#) is on you.

Having a code/rio free method to tune PIDs on the talon would be nice. I bet by the time I get around to it, CTR will have their own version better than the one I will throw together.
yea i am thinking about doing something on the HERO. Could be a fun project
__________________
2016 Tesla Division Finalist
2016 Central Illinois Regional Finalist
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #11   Spotlight this post!  
Unread 11-14-2017, 01:54 PM
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,798
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Talon SRX Stand Alone?

Hero + logitech F710
Reply With Quote
  #12   Spotlight this post!  
Unread 11-14-2017, 03:36 PM
phurley67's Avatar
phurley67 phurley67 is offline
Programming Mentor
AKA: Patrick Hurley
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 113
phurley67 will become famous soon enough
Re: Talon SRX Stand Alone?

Hero + GADGETEER WIFI MODULE and just connect with your phone.
__________________
Lightning Robotics -- Give me an Aaaaa

Reply With Quote
  #13   Spotlight this post!  
Unread 11-14-2017, 04:37 PM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 327
Bpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond reputeBpk9p4 has a reputation beyond repute
Re: Talon SRX Stand Alone?

Quote:
Originally Posted by phurley67 View Post
Hero + GADGETEER WIFI MODULE and just connect with your phone.
now that would be cool
__________________
2016 Tesla Division Finalist
2016 Central Illinois Regional Finalist
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #14   Spotlight this post!  
Unread 11-14-2017, 06:00 PM
asid61's Avatar
asid61 asid61 is offline
Design Simple
AKA: Anand Rajamani
FRC #1072 (Harker Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,594
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Talon SRX Stand Alone?

I would do HERO + display + controller. Display to display your selections and the controller to modify PID constants. Altogether around $100 but it can control your whole robot.
__________________
Team 1072 2017-present
Team 299 2017
Team 115 2013-2016



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 02: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