OCCRA
Go to Post I wouldn't mind having this day repeat itself a few times. It would give us more time to work on our robot. - Mr.D [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-13-2018, 06:50 PM
dragonriderx's Avatar
dragonriderx dragonriderx is offline
Registered User
FRC #4611
 
Join Date: May 2017
Location: Ohio
Posts: 24
dragonriderx is an unknown quantity at this point
Pigeon IMU Drift

Okay, so I know the pigeon experiences drift so we set up our rotate command to be based on relative degrees (If pigeon is at 250 degrees and we want to turn 90 then turn to 340). So there's some context now the problem.

Tell the pigeon to turn 180. Perfect. Rotate it back to the original orientation. Tell the pigeon to turn 180. Slightly left of where we want. Reset the bot.
Tell the pigeon to turn 180. Slightly more left. This continues and grows exponentially to the point where it becomes a problem. Any ideas what could be causing this?
Reply With Quote
  #2   Spotlight this post!  
Unread 03-13-2018, 07:13 PM
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 659
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Pigeon IMU Drift

Please read section 8 - IMU Error Sources, in the Pigeon User's Guide. This will tell you how to diagnose which source of error and how to fix it.
__________________
Omar Zrien - CTR Electronics - Cross The Road Electronics - Chief Software/Owner
CTRE New products | CTRE/FRC Source Examples | FRC Installer (for Talon SRX and more)
Get Latest Updates on Facebook | Twitter
Reply With Quote
  #3   Spotlight this post!  
Unread 03-14-2018, 05:38 AM
thatnameistaken thatnameistaken is offline
Registered User
AKA: Joshua Johnston
FRC #2191 (Flux Core)
Team Role: College Student
 
Join Date: Oct 2012
Rookie Year: 2013
Location: Hamilton, NJ
Posts: 148
thatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant future
Re: Pigeon IMU Drift

In addition - while section 8 touches upon this, I highly recommend you go through the temperature calibration procedure if you haven't already. It helps eliminate most drift.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 03-14-2018, 08:18 AM
JamesCH95's Avatar
JamesCH95 JamesCH95 is offline
Hardcore Dork
AKA: JCH
FRC #0095 (The Grasshoppers)
Team Role: Engineer
 
Join Date: Dec 2004
Rookie Year: 2001
Location: Enfield, NH
Posts: 2,580
JamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond repute
Re: Pigeon IMU Drift

We measured 3 of drift over 5 minutes with our recently-installed IMUs, I don't think that drift is your issue.

Your turning routine no doubt has a tolerance on each turn. Say that's 1. Every time you reset the robot's position you can add up to 1 of error. I don't think that you should be resetting position over and over because you're accumulating this tolerance each time that you reset. Eventually it becomes too much to deal with.
__________________
Theory is a nice place, I'd like to go there one day, I hear everything works there.

Maturity is knowing you were an idiot, common sense is trying to not be an idiot, wisdom is knowing that you will still be an idiot.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-14-2018, 09:13 AM
philso philso is offline
Mentor
no team
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Houston, Tx
Posts: 1,638
philso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond repute
Re: Pigeon IMU Drift

Is your bot returning to the starting position via software commands or are you moving it "by hand"? If you are moving it by hand, how consistent is your starting position?
Reply With Quote
  #6   Spotlight this post!  
Unread 03-14-2018, 04:07 PM
thatnameistaken thatnameistaken is offline
Registered User
AKA: Joshua Johnston
FRC #2191 (Flux Core)
Team Role: College Student
 
Join Date: Oct 2012
Rookie Year: 2013
Location: Hamilton, NJ
Posts: 148
thatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant futurethatnameistaken has a brilliant future
Re: Pigeon IMU Drift

Quote:
Originally Posted by JamesCH95 View Post
We measured 3 of drift over 5 minutes with our recently-installed IMUs, I don't think that drift is your issue.

Your turning routine no doubt has a tolerance on each turn. Say that's 1. Every time you reset the robot's position you can add up to 1 of error. I don't think that you should be resetting position over and over because you're accumulating this tolerance each time that you reset. Eventually it becomes too much to deal with.
This is almost definitely it. If you perform temperature calibration, the drift is small enough to ignore; this would be better than using relative coordinates.
__________________
Reply With Quote
Reply


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 08:01 PM.

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


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