|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Vex Pro Ball Shifter Questions
Quote:
When you consider the time and air it takes to shift each time, any small benefit gained would be a drop in the pond when driving in a match. |
|
#2
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
This doesn't even start to mention the complexity of correctly writing auto shifting code. For the small benefit is it really worth all that time?
|
|
#3
|
|||
|
|||
|
Re: Vex Pro Ball Shifter Questions
When I drove 3476's auto-shifting Vex pro ball shifter robot, it was rather seamless, and it seemed worth it.
|
|
#4
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
Quote:
) |
|
#5
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
PIDs aren't really useful here. Ball shifters are a discrete change. PID need a variable to control in small steps. Not just one big one.
|
|
#6
|
|||
|
|||
|
Re: Vex Pro Ball Shifter Questions
I'm no programmer, but I understand enough software to know this is possible with encoders:
if rpm > x amount shift up if rpm < x amount shift down Looks pretty easy to me. |
|
#7
|
|||
|
|||
|
Re: Vex Pro Ball Shifter Questions
I'd say a little more involved but at its core I can't see it being anything more then that.
|
|
#8
|
||||||
|
||||||
|
Re: Vex Pro Ball Shifter Questions
Quote:
See here for more details: http://www.chiefdelphi.com/forums/sh...72&postcount=3 |
|
#9
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
Accelerometers don't measure velocity, they measure change in velocity. Also, having drivers constantly switch gears would distract them from driving well and would be much slower because drivers cannot respond as quickly as a computer can.
|
|
#10
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
But you can uses that change in velocity to find out your actual velocity! Also, that is the reason why our shifter idea was a flop!
|
|
#11
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
If everything was perfect you could use accelerometers to calculate velocity. However you would need a perfectly accurate accelerometer and no lag. There is no system capable of this, and so because of that using an accelerometer to find out your velocity would be incredibly inaccurate. Encoders provide a much more accurate reading of the velocity of your robot.
Last edited by MichaelBick : 01-12-2013 at 20:31. |
|
#12
|
|||
|
|||
|
Re: Vex Pro Ball Shifter Questions
Quote:
We did an acceleration/velocity test with our robot (ballshifters) earlier this year. In high gear, from a standstill, the robot catches up (position-wise) to itself in low gear within four feet. If you shift, you'll also lose energy during it. Automatic shifters are not worth it. |
|
#13
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
If you know your acceleration and how long you've been accelerating, you can calculate velocity(based off of an initial velocity of zero at the beginning of the match). As you well know, there are so many ways this becomes inaccurate which is why it is a completely unreliable and nonviable method for figuring out your velocity and an encoder(which was made for this purpose) makes so much more sense.
Last edited by MichaelBick : 01-12-2013 at 20:58. |
|
#14
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
No. You can't change the FPGA image and be competition legal, and there is no provided PID for the FPGA. Also, why PID? PID is used when you have a variable output.
I've played with auto shifting in the past, and it wasn't that great. Our test robot could accelerate in the fast gear to high speed faster than it could by starting in slow gear and switching to high gear. The only time it's useful is if you have it kickdown to the pushing gear if it detects a huge change in acceleration without the driver telling it to slow down (like running into another robot). The problem is that it shifts when you don't want it to. It shifts when you turn, it shifts when you hit a wall, it shifts in that one moment where you need to keep going, it shifts as the chain falls off... Then, you have to write a bunch of code telling it not to shift if it shifted in the last 2 seconds, if you're turning sharper than a certain amount, if the deceleration is too huge.... Using the accelerometer to measure velocity isn't really feasible with the technology we have. It is possible to integrate the acceleration, but you always end up off. It's like the gyro drift where you integrate the angular rate to find your heading, but much, much worse. |
|
#15
|
||||
|
||||
|
Re: Vex Pro Ball Shifter Questions
IMO 33 is autoshifting as far as I am concerned.
However, 971's p-bot shifting setup at Madtown was pretty cool, if I do say so myself. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|