Go to Post By the way why do all american's spell Colour wrong?!?!?!?!?!?!?!? - akoscielski3 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 25-04-2016, 14:04
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Low-cost Talon SRX computer?

Hey All, Some answers below...

Quote:
Does anyone have an inexpensive (<$100, or at least < $200) way (both hardware and software) to control a Talon SRX (in encoder mode) which includes both driving at a specified speed and driving (a single encoder) to a "click count"?
We get this question a lot through our support email. This is one of the main reasons why we made the HERO development board.
http://www.ctr-electronics.com/hro.html
It's a C# based NETMF board that allows you to write/debug C# robot code (works with the free Visual Studio IDE/Debugger). This is where we add features to our CAN actuators first, test them, then port what makes sense to the FRC system.

Our C# library is open source so you can use it as a reference for porting the Talon library to whatever.
https://github.com/CrossTheRoadElec/HERO-SDK

Also, if you are married to another hardware platform (familiarly, preference, whatever) you should consider looking at HERO anyway as a tool to field-upgrade/set-IDs, and to get your robot moving immediately. Then you can begin your porting effort by studying our library.

If you happen to be at Worlds this week, check out our demos at our booth. We'll have at least one robot using HERO and Talons.

Quote:
Not that I really want to, but is there an inexpensive C# programming environment?
Visual Studio Community is free, see HERO User's Guide for installation steps.

Quote:
...be wary of the security token put in the CAN bus every 100 msec (I believe that's still a thing). ....
We have FRC and nonFRC firmware. FRC firmware requires a roboRIO that safely tells us that we can enable, nonFRC does not need the roboRIO to enable.
The firmware file is on our site, use a HERO or roboRIO to field-upgrade your Talons.

Quote:
A search for CAN bus shields turned up a number of shields
I've had a few customers do this. Typically they prove out what they want to do using HERO, then do a minimal port to Arduino/RaspPi/whatever. This is particularly helpful if you don't have a lot of flash on your platform.

I've also had a few customers just send high level commands to a HERO, which in turn updates the Talons (over UART or similar). See HERO User's Manual for serial example.

Last edited by ozrien : 25-04-2016 at 14:32. Reason: spelling mistake
Reply With Quote
  #2   Spotlight this post!  
Unread 25-04-2016, 14:19
Andrew Schreiber Andrew Schreiber is offline
Data Nerd
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,054
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Low-cost Talon SRX computer?

Quote:
Originally Posted by ozrien View Post
Hey All, Some answers below...


We get this question a lot through our support support. This is one of the main reasons why we made the HERO development board.
http://www.ctr-electronics.com/hro.html
It's a C# based NETMF board that allows you to write/debug C# robot code (works with the free Visual Studio IDE/Debugger). This is where we add features to our CAN actuators first, test them, then port what makes sense to the FRC system.

Our C# library is open source so you can use it as a reference for porting the Talon library to whatever.
https://github.com/CrossTheRoadElec/HERO-SDK

Also, if you are married to another hardware platform (familiarly, preference, whatever) you should consider looking at HERO anyway as a tool to field-upgrade/set-IDs, and to get your robot moving immediately. Then you can begin your porting effort by studying our library.

If you happen to be at Worlds this week, check out our demos at our booth. We'll have at least one robot using HERO and Talons.


Visual Studio Community is free, see HERO User's Guide for installation steps.


We have FRC and nonFRC firmware. FRC firmware requires a roboRIO that safely tells us that we can enable, nonFRC does not need the roboRIO to enable.
The firmware file is on our site, use a HERO or roboRIO to field-upgrade your Talons.


I've had a few customers do this. Typically they prove out what they want to do using HERO, then do a minimal port to Arduino/RaspPi/whatever. This is particularly helpful if you don't have a lot of flash on your platform.

I've also had a few customers just send high level commands to a HERO, which in turn updates the Talons (over UART or similar). See HERO User's Manual for serial example.
Omar, if we're not married to the idea of using Talons (cost/ more features than we need) how well would the Hero work for general purpose robot platform controller using, say Spark ESCs or for even lower load motors Vex Controller 29s.
__________________




.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-04-2016, 14:29
FrankJ's Avatar
FrankJ FrankJ is online now
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,876
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Low-cost Talon SRX computer?

How difficult would it be to get Jaguars working through Hero on the CanBus? Does anybody know if the Jaguar firmware exists? We have a bunch of those sitting around. It would be great to have a test bed that connected them to a x-box controller.

I see there are 3 PWM outputs on the board. I suppose that would do about the same.
__________________
If you don't know what you should hook up then you should read a data sheet

Last edited by FrankJ : 25-04-2016 at 14:44. Reason: Added PWM comment
Reply With Quote
  #4   Spotlight this post!  
Unread 25-04-2016, 14:45
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Low-cost Talon SRX computer?

Quote:
Omar, if we're not married to the idea of using Talons...
There is a 'P' Gadgeteer port that is PWM-hardware capable so anything is possible, but it is not supported in software yet. The priority for HERO is to better support Talon SRX, but in future I'm sure it will branch out to other things as we add more peripheral software support (I personally can't wait to see an IoT application).

Quote:
How difficult would it be to get Jaguars working through Hero on the CanBus?
That's a interesting question, the CAN driver API in HERO is very similar to the CAN driver API we [NI/CTRE/WPILIB/FIRST] hashed out for RIO. So I bet a smart student/mentor could port over the CANJaguar java class to C#, and just replace the RIO CAN calls with HERO CAN calls. Java would be best as it is closest to C#.

BUT you must put the nonFRC firmware into the Jags. That will require using BDC-COMM (and possible a serial connection). Or 2CAN if you have one lying around
Reply With Quote
  #5   Spotlight this post!  
Unread 26-07-2016, 19:18
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Low-cost Talon SRX computer?

Closing out my last comment on this old thread....

PWM Speed Controller class is now available in HERO SDK Beta Installer 4.4.0.25 (.zip)
http://www.ctr-electronics.com/contr...ical_resources
Reply With Quote
  #6   Spotlight this post!  
Unread 24-08-2016, 23:36
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Re: Low-cost Talon SRX computer?

IDK if It could be any help but I got can jaguars running on arduino, follow the link in my signature.
__________________
I need a jaguar development board for reprogramming a jaguars bootloader. if you have one that you want to sell, pm me. thanks

Run you CanJaguars on arduino with ArduRIO, you can also easily control Talons, Victors,Jaguars and Sparks on PWM. https://sourceforge.net/projects/ardurio/
Reply With Quote
  #7   Spotlight this post!  
Unread 25-08-2016, 07:24
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,206
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Low-cost Talon SRX computer?

The Zebracorns recently got one of our old robots converted to using Talon SRXs and a HERO board thanks to a generous donation by CTRE. We will be posting a paper about the process as soon as we can (we're in the middle of moving our lab right now).

Needless to say, the HERO board is an amazing tool for teams for this exact reason and it has us talking about how we can use it for more prototyping in the future.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #8   Spotlight this post!  
Unread 25-08-2016, 23:15
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: 3,510
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: Low-cost Talon SRX computer?

Quote:
Originally Posted by teslalab2 View Post
IDK if It could be any help but I got can jaguars running on arduino, follow the link in my signature.
I bought some SPARKs for this project several months ago, leaving the encoder counting to the arduino, but thanks.
__________________

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
  #9   Spotlight this post!  
Unread 26-08-2016, 07:48
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Re: Low-cost Talon SRX computer?

Quote:
Originally Posted by GeeTwo View Post
I bought some SPARKs for this project several months ago, leaving the encoder counting to the arduino, but thanks.
Quote:
Originally Posted by FrankJ View Post
How difficult would it be to get Jaguars working through Hero on the CanBus? Does anybody know if the Jaguar firmware exists? We have a bunch of those sitting around.
Geetwo, I am thinking though, you might be able to port it over.
__________________
I need a jaguar development board for reprogramming a jaguars bootloader. if you have one that you want to sell, pm me. thanks

Run you CanJaguars on arduino with ArduRIO, you can also easily control Talons, Victors,Jaguars and Sparks on PWM. https://sourceforge.net/projects/ardurio/

Last edited by teslalab2 : 26-08-2016 at 07:51.
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 20:46.

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