|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Help the field crew, reset your gyro in autonomous
Quote:
As a backup, I'm considering doing it the old fashioned way - just reading the analog voltage and doing our own bias and integration. |
|
#2
|
||||
|
||||
|
Re: Help the field crew, reset your gyro in autonomous
The "other" solution to this is to spend less time lining the robot up. Our programmers told me about this, then told me about waiting 20-30 seconds after the robot was turned on to move it, or even place a tube on it. I told them we'd be shooed off the field if we were just standing around waiting for the bot to initialize.
So our drivers eventually got lining up the 'bot down to ~10-15 seconds. Worked well enough for alignment. |
|
#3
|
||||
|
||||
|
Re: Help the field crew, reset your gyro in autonomous
Quote:
) to something that activates the LED? |
|
#4
|
||||||
|
||||||
|
Re: Help the field crew, reset your gyro in autonomous
Quote:
As it turns out, since the gyro open is blocking, I shouldn't need to do anything. The default code flashes USER 1 LED in PeriodicTasks.vi. PeriodicTasks.vi won't run until Begin.vi completes. So... as long as open gyro is done in Begin.vi (which is where it should be), USER 1 LED will not start flashing until the gyro cal is complete. Yea for simplicity. |
|
#5
|
|||||
|
|||||
|
Re: Help the field crew, reset your gyro in autonomous
I just had a thought that I figured I would throw out there.
What about using a Driver Station input to trigger the Gyro Open in Autonomous Disabled? Then the gyro bias can be calculated during team introductions. |
|
#6
|
||||
|
||||
|
Re: Help the field crew, reset your gyro in autonomous
This is an important issue as more teams are using the gyro.
We are thinking of adding a relatively quiet but noticeable buzzer that will turn on for 8 seconds- the last 2 seconds we will use to initialize the gyro. If the field crew is moving the robot when the buzzer sounds, they know they have a few seconds to stop moving the bot- if they don't, they at least know that they should reset the cRIO. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|