|
Re: Using PID on Talon SRX with Gyro for feedback
Using a gyroscope to drive straight inherently requires driving two motors differently based on a single input. The SRX controls seem to be aimed at controlling a single motor - or a second motor the same way using slaving.
Also, gyroscopes don't give you an output of what direction you're heading, but what your rate of rotation is. If you tried something like driving the left wheel to some specified number of RPM, and driving your right wheel until the gyroscope rotation rate was zero, you would probably end up on something pretty close to a straight line, but it wouldn't be any particular line; I expect that your heading would have changed significantly as you came up to speed.
__________________
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.
|