View Single Post
  #3   Spotlight this post!  
Unread 25-06-2015, 10:27
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,594
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: 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.
Reply With Quote