Open vmagro opened 9 years ago
I will talk to Michael about that
Putting our email conversation here for the record:
Michael:
Yeah I told Krager to put that in there as a test along with just normal drive code. I think thats what 1678 did actually or they had some sort of autoshifting like if (voltageDrawn > x) shiftLowGear; or whatever just so that if there is an unexpected collision
Vinnie:
The shifting to low gear if voltage is too high makes sense but I was talking about this is shifting to high gear if it thinks you're trying to go fast
Michael:
Yeah I mentioned that to him to program at least as an option I was just looking through cd and saw that as a potential idea but i know we probably won't end up using it unless we encounter some major unexpected problems.
I've read a lot about teams like 33 experiment with auto-shifting like it seems as if you are doing here and the general consensus is that it's a bad thing to do. My opinion (and maybe Michael has a different one) is that the driver should have full control over when they shift gears. There are countless different scenarios that could happen during a match, and you can't possibly think of all of them beforehand. Auto-shifting could have undesired consequences if for example you can't try and ram someone in low gear because it shifted to high automatically and now you brown-out while trying to push another robot.