Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Sensors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=173)
-   -   Gyros and Field Centric Control (http://www.chiefdelphi.com/forums/showthread.php?t=98295)

MichaelBick 16-11-2011 15:08

Gyros and Field Centric Control
 
Our team is looking to implement field centric control on last year's robot during the preseason. I was wondering which gyros other teams have used in the past and your experiences with them. Thank you so much.

Ether 16-11-2011 15:21

Re: Gyros and Field Centric Control
 
Quote:

Originally Posted by MICHAELABICK (Post 1085352)
Our team is looking to implement field centric control on last year's robot during the preseason. I was wondering which gyros other teams have used in the past and your experiences with them. Thank you so much.

http://www.chiefdelphi.com/forums/sh...8&postcount=40



MichaelBick 17-11-2011 19:54

Re: Gyros and Field Centric Control
 
Thank you so much.

skimoose 18-11-2011 10:58

Re: Gyros and Field Centric Control
 
Ether has pointed you in a good direction. To elaborate, you need to select a gyro with sufficient degrees/second response. A good minimum is 300. If your robot can turn faster or be struck and spun faster than the gyro can respond, your field centric controls will lose their bearing. There are several gyros available from Sparkfun with the correct input voltage. If you use a gyro that is close to your turn rate, you can always program a gyro reset into your operators controls. If the robot drifts off axis, the driver can manually position the robot back to a bearing of zero and hit a button to reset your bearing variable to zero as well.

MichaelBick 19-11-2011 16:34

Re: Gyros and Field Centric Control
 
Also, I was wondering if any teams use accelerometers on their robots. Do you have any recommendations for some that work with the wpilib library?

Tristan Lall 20-11-2011 20:05

Re: Gyros and Field Centric Control
 
Field-centric control would be a lot easier if you weren't hungry all the time. Your search for gyros is definitely a good first step.

Ether 20-11-2011 20:43

Re: Gyros and Field Centric Control
 
Quote:

Originally Posted by Tristan Lall (Post 1085923)
Field-centric control would be a lot easier if you weren't hungry all the time. Your search for gyros is definitely a good first step.

Whatcha smokin ?



Sparks333 13-01-2012 01:18

Re: Gyros and Field Centric Control
 
FYI, integrating angular rate for any amount of time is going to get very drifty - especially if you get knocked by another robot. A gyro with a high rotational limit and a very high sampling rate are both decent ways around this, but they can't get rid of bias errors and non-smooth motion issues. One way to decrease drift is to do sensor fusion with wheel encoders - using something like a complementary filter can make one system more depended-upon during high rates of rotation, and the other more depended-upon during low rates of rotation. Far better, however, is to use some part of the field that the robot can localize to - in an extreme case, you might be able to use a compass module to find direction (but the hard-iron fields will probably render one useless), or perhaps using the camera for visual servoing. I'd personally recommend the latter - fixate on the targets and keep it always in frame.

Hope this is useful

Sparks

Ether 13-01-2012 06:50

Re: Gyros and Field Centric Control
 
Quote:

Originally Posted by Sparks333 (Post 1104197)
FYI, integrating angular rate for any amount of time is going to get very drifty - especially if you get knocked by another robot.

Many teams simply put a button on the joystick that the driver can push to re-zero the gyro when the bot is pointed in the desired direction.



Sparks333 13-01-2012 14:37

Re: Gyros and Field Centric Control
 
That works too.


All times are GMT -5. The time now is 08:00.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi