|
Re: Sidecar Brownout causing motors to move
Quote:
Originally Posted by RufflesRidge
Yes, this seems like an expected behavior:
The robot is enabled and you're driving it around. This means that the cRIO is sending PWM signals to the motor controllers via the Digital Sidecar with nominal high pulse width of 1.5ms (neutral) +/- .5ms (forward and reverse respectively). So you're in the middle of sending one of these pulses, and the Digital Sidecar browns out and stops sending the high signal so you have a pulse that is much shorter than what the controller was trying to send.
Some tests we've done with some of our Talons and a pulse-width generator show that they will respond to a signal much shorter than 1.0 ms with full reverse. So your truncated signal is interpreted as full reverse. The Talon then looks for another pulse for a little bit, but doesn't get one so it disables the output.
|
That was exactly our thought too. We just wanted to double check and see if there was something else wrong with something else on the control system. We know to not brown out, and will make sure to have a charged battery to control it.
__________________
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.
|