![]() |
Problem with gyro...
I don't know what's happening to my gyro... i think it works by it's own will...
Sometimes it works, or sometimes it gives me values that are always growing :ahh: If someone knows what's this, please tell me =D |
Re: Problem with gyro...
Did you compute the bias?
|
Re: Problem with gyro...
Quote:
[1] In competition, you turn on the bot and let it sit there for minutes motionless before they start autonomous, so the gyro will have plenty of time to calibrate. |
Re: Problem with gyro...
this happened to someone else on the forum last week.
the wire colors called out on the gyro board are mislabeled. If you hooked up the cable to match the markings on the board it will do exactly what you are seeing. Check the gyro documentation for the correct pinout. |
Re: Problem with gyro...
this is the exact reason we stopped using the qyro and started using geartooth. Think about it
|
Re: Problem with gyro...
Quote:
|
Re: Problem with gyro...
Wheel slippage (unless you have wheels with no traction(which you shouldn't)) will not be a problem with a robot over 90 pounds, as long as you account for acceleration. Though this might sound iffy (or ifi :D ), the calculation is easier than writing code for the gyro.
|
Re: Problem with gyro...
Quote:
From an early version of my team's code, assuming you have Kevin's code in place already: Code:
error=phi-theta; // in milliradians |
Re: Problem with gyro...
also, geartooth can tell distance, gyro can't. The geartooth can also tell you direction, think about it.
|
Re: Problem with gyro...
Quote:
|
Re: Problem with gyro...
Quote:
What's easier:
I guess it's up to you though... Think about it. ;) |
Re: Problem with gyro...
Quote:
|
Re: Problem with gyro...
Quote:
and there is no way your robot will ever hit the wall or sides, and sit there spinning its wheels, thinking its still moving forwards? Experience is a cruel teacher. First you are tested, then you learn the lesson. |
Re: Problem with gyro...
And your saying that you could recover during autonomous with your gyro? No, you couldn't. Also, if you are going for the side goals, and if you go for the nearest goal, then you'll get there before anyone could bump you (as long as your robot is decently fast.) If you get bumped while shooting, you shouldn't be worried about recovering with the gyro because you'll use the cam. And most likely you won't be using either gyro or gear tooth during non-autonomous mode.
|
Re: Problem with gyro...
Quote:
|
Re: Problem with gyro...
I think my point was that you would only need to recover if you were shooting in the center goal. And as I said, you'd be using the cam to recover. So where does the gyro come into this, I ask?
|
Re: Problem with gyro...
There are six robots on the field.
To maximize the distance measuring precision of the camera it needs to be mounted low on the robot. Its very likely that your bots view of the target light will be blocked from time to time. With the gyros and accelerometers you can design an inertial guidance system that cannot be blocked or inhibited by any other objects on the field. The more senses (sensors) you robot uses the better it will be able to perform over a wide range of variables, most of which are out of your control. Once auton starts you dont know what the other 5 robots on the field are going to do. |
Re: Problem with gyro...
So... my gyro is better connected now, but the only value that i can get is 0 :ahh:
what's this? |
Re: Problem with gyro...
first step would be to put a volt meter on the output of the gyro, to see if the problem is sensor, electrical, or a SW issue.
next step is to make sure the signal is present on the input pin of the RC. |
Re: Problem with gyro...
look... i've verified all the possible connections of the gyro with a volt meter, and i'm sure that all the connections are fine, and the signal arrives on the RC.
i think that the sensor's PIC is toasted :p |
Re: Problem with gyro...
I dont know if anyone has tried to repair a failed gyro sensor. You might be better off getting one shipped overnight to you from IFI.
If you have the right power supply voltage going to the gyro board, and the output stays at 2.5 V when you turn the board on its axis of rotation, then yes, the gyro board has definately failed. |
Re: Problem with gyro...
well, i don't think that ordering another sensor would be a good idea...
i'm in Brazil :D |
| All times are GMT -5. The time now is 03:39. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi