Go to Post I frequently summarize the core mission of FIRST as inspiring the smartest high school kids to study science and engineering, so they don't become lawyers. (It's about 70% in jest) - MikeE [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 14-12-2015, 12:27
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,064
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: FRC Blog - 2016 Motor Controllers

Quote:
Originally Posted by Thad House View Post
Programmers better bring their A game this year if teams want any sort of speed with 3 CIMs. Some very intelligent ramping and shifting code is going to be required for all the top teams.

Maybe someone who knows a lot about working with motor controls would be willing to do a white paper or something how how to limit current. Trying to find documentation online on how to do that has been impossible for me.
It would be awesome if the Talon SRX gets a firmware update that lets it do this (current limiting). It can already do ramping.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-12-2015, 12:33
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,494
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: FRC Blog - 2016 Motor Controllers

Quote:
Originally Posted by Jared Russell View Post
It would be awesome if the Talon SRX gets a firmware update that lets it do this (current limiting). It can already do ramping.
Yup Yup.

I'd love this for FRC, and a few non-FRC applications I use Talons for.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-12-2015, 12:37
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is online now
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,712
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: FRC Blog - 2016 Motor Controllers

Quote:
Originally Posted by AdamHeard View Post
Yup Yup.

I'd love this for FRC, and a few non-FRC applications I use Talons for.
A continuous sensor option would be nice too. Similar to the continuous sensor option in the WPILib PID Controllers.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-12-2015, 12:38
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,068
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: FRC Blog - 2016 Motor Controllers

Quote:
Originally Posted by Jared Russell View Post
It would be awesome if the Talon SRX gets a firmware update that lets it do this (current limiting). It can already do ramping.
Even if its not built in, since we can access all the current and speed data, wouldn't we be able to do this on the RoboRIO? It wouldn't be anywhere close to as fast of a loop, but it should be good enough, right?
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-12-2015, 12:40
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is online now
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,712
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: FRC Blog - 2016 Motor Controllers

Quote:
Originally Posted by Thad House View Post
Even if its not built in, since we can access all the current and speed data, wouldn't we be able to do this on the RoboRIO? It wouldn't be anywhere close to as fast of a loop, but it should be good enough, right?
I haven't spent nearly enough time trying to track down the correct way to do this, but I would love to know what it is.
Reply With Quote
  #6   Spotlight this post!  
Unread 14-12-2015, 12:50
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,494
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: FRC Blog - 2016 Motor Controllers

Quote:
Originally Posted by notmattlythgoe View Post
I haven't spent nearly enough time trying to track down the correct way to do this, but I would love to know what it is.
Hopefully someone knows the answer to this.

If you're just running 4 Talon SRXs on the CANbus, nothing else and you're in a separate thread running your drive, what's the fastest you can run that loop and still get a fresh current measurement over CAN for each one?

Same question, but w/ PWM speed controllers and reading current over PDP?
Reply With Quote
  #7   Spotlight this post!  
Unread 14-12-2015, 12:58
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,068
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: FRC Blog - 2016 Motor Controllers

Quote:
Originally Posted by AdamHeard View Post
Hopefully someone knows the answer to this.

If you're just running 4 Talon SRXs on the CANbus, nothing else and you're in a separate thread running your drive, what's the fastest you can run that loop and still get a fresh current measurement over CAN for each one?

Same question, but w/ PWM speed controllers and reading current over PDP?
I know that the PDP only reads new currents every 25ms, or at least it was last season. Don't know if that changed. In addition, PWM updates at max every 5ms, so you couldn't go any faster then that even if you had a faster sensor.

The default status update period for Talons is 10ms. However I know that you can set it even faster. I bet you could do 5ms easily, and could probably push about every 2ms if you are careful with your CAN usage.

I would bet that is plenty fast enough, as your mechanical system probably won't react much quicker then that.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
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 09:03.

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