View Single Post
  #13   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,099
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