View Single Post
  #5   Spotlight this post!  
Unread 09-02-2015, 09:59
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: How to Code Gyro to Help with Straight Strafing?

Take a look here Using a gyro to drive straight This tweaks the rotation input to your drive subroutine. It works with holonomic and skid steer drive methods, and implements a simple P-control. We have used it many times. While the PIDControl subsystem is a great tool to learn how to use ( and you should make it your friend ). It isn't required in this case.

These yaw rate sensors work with the coriolis effect, and can be placed anywhere. Just keep it in the x-y plane of the chassis. Or in your case r, theta

Eric
__________________

Don't PANIC!
S. P. A. M.

Last edited by EricS-Team180 : 09-02-2015 at 10:02.
Reply With Quote