View unanswered posts | View active topics It is currently Wed Feb 10, 2016 4:52 am

 Page 1 of 1 [ 7 posts ]
 Print view Previous topic | Next topic
Gyro Problems
Author Message
Rookie

Joined: Mon Oct 13, 2008 6:01 pm
Posts: 2
Gyro Problems
Hi I am new to robot C and for my FTC team I am trying to program our robot to do a perfect 90 degree using a gyro. But every time I try I'm off by about 5 to 10 degrees Can someone help me:?:

Mon Oct 13, 2008 6:21 pm
Professor

Joined: Fri Sep 19, 2008 1:22 am
Posts: 200
Re: Gyro Problems
Are you changing the speed of the motors relative to how far you need to move? You will have a lot better luck with a gyro or compass if you slow way down as you get close to the target.

_________________
Jeff McBride
Benson Robotics Club

Mon Oct 13, 2008 7:46 pm
Rookie

Joined: Sun Oct 14, 2007 3:20 am
Posts: 20
Location: Turin, Italy
Re: Gyro Problems
do you want to make a "segway"?
you can start with using a pseudointegrator instead of a simple integrator. But if you you use a motor you will have some more complications.
If you like send me a PM and I will give more details.
R.

Simon

_________________
If the facts don't fit the theory, change the facts (A. Einstein)

Tue Oct 14, 2008 9:53 am
Rookie

Joined: Mon Oct 13, 2008 6:01 pm
Posts: 2
Re: Gyro Problems
 Jeff McBride wrote:Are you changing the speed of the motors relative to how far you need to move? You will have a lot better luck with a gyro or compass if you slow way down as you get close to the target.

Yeah we slowed down the motors but it still was off

Thu Oct 16, 2008 6:17 pm
Professor

Joined: Fri Sep 19, 2008 1:22 am
Posts: 200
Re: Gyro Problems
If you post the code I would be happy to look at it for you.

_________________
Jeff McBride
Benson Robotics Club

Thu Oct 16, 2008 6:44 pm
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 616
Re: Gyro Problems
I have not had a lot of success with the gyro in terms of long term accuracy of its reading. It tends to drift. Or at least that is my recollection.

Leave the gyro in a static position. Then monitor the accumulated angle. See if it is changing over time. That is the drift.

I think the accuracy is a function of using a \$50 gyro instead of a \$5000 one.

Wed Oct 22, 2008 6:25 am
Expert

Joined: Fri Nov 09, 2007 4:51 am
Posts: 121
Location: Hungary, Europe
Re: Gyro Problems
Same problems have been discussed in the "accelerometer applications" topic.
scb also recommended a simple solution called pseudo-integrator.

http://www.robotc.net/forums/viewtopic.php?f=1&t=647

Thu Oct 23, 2008 2:57 am
Display posts from previous:  Sort by
 Page 1 of 1 [ 7 posts ]

#### Who is online

Users browsing this forum: No registered users and 1 guest

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ ROBOTC Applications    ROBOTC for LEGO MINDSTORMS       Third-party sensors    ROBOTC for CORTEX & PIC    ROBOTC for VEX IQ    ROBOTC for Arduino    Robot Virtual Worlds    Multi-Robot Communications    Issues and Bugs Competitions & Partners    Mini Urban Challenge    2014 Robotics Academy Summer of Learning    CS2N Robot Virtual Worlds Competitions       VEX Skyrise Competition 2014-2015       VEX Toss Up 2013-2014       FTC Block Party! 2013-2014    Competitions using VEX - BEST, TSA, VEX, and RoboFest!    FTC Programming    RoboCup Junior and Other ROBOT Competitions Virtual Brick Robotics Discussions    General Discussions    Project Discussions Off-Topic ROBOTC Forum & ROBOTC.net Suggestions/Feedback    ROBOTC Forums Suggestions/Comments    ROBOTC.net Suggestions/Comments       NXT Programming: Tips for Beginning with ROBOTC       VEX Programming: Tips for Beginning with ROBOTC    2013 Robotics Summer Of Learning       VEX Toss Up Programming Challenge       FTC Ring It Up! Programming Challenge    International Forums       Spanish Forums          ROBOTC for MINDSTORMS          ROBOTC for VEX       French Forums          ROBOTC pour Mindstorms          ROBOTC pour IFI VEX       Japanese Forums （日本語のフォーラム）       German Forums    2015 Spring Carnival Event    PLTW (Project Lead The Way)    Robotics Merit Badge