Go to Post We are here to educate, inspire, and mentor not only the students, but teams who need guidance, whether they know it or not. - Andy Baker [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 01-04-2015, 17:33
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,058
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: pic: Makeshift Kiwi Vex-FTC-FRC hybrid

Quote:
Originally Posted by Alan Anderson View Post
You want "heading hold" when the driver is not commanding a turn, right? Use whatever joystick input commands the turn to turn off heading hold whenever it's not at neutral, and turn it back on again after the turn is finished. That could be as soon as the joystick is back at neutral, or it could be slightly delayed to account for the robot's inertia. See how the driver likes the handling with various amounts of delay in the reactivation of heading hold mode.
So, we attempted this, however as Bill Nye reminds us constantly, "Inertia is a property of matter". The heading lock controller (tuned) would take over as soon as we let go of the stick and it would oscillate because the gyro reading we were going to was behind where we actually were (because robot has inertia when it spins). A delay would resolve this issue. I was curious if there was a better way than that. We thought about sampling the gyro rate and if it was 0 and the commanded rate was 0 we could enable heading lock. As it stands, we drive so little in any given match (HP loader) that it wasn't an issue.

Other approaches I thought about doing but in the end just went with the simple "hold this to lock heading" :

- PID controller on gyro_rate
- Settling time
- Scrapping it and saying "back in my day we didn't have fancy gyros to hold our heading, we did it uphill, both ways, with drill motors"
- Telling the mechanical folks we were never turning and all systems needed to be on a turret
__________________




.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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