My team wants to use two different drive systems: A normal holonomic drive for driving around the field and a secondary tank drive for when the bot is on the bridge. I have no idea how to execute this kind of program and was hoping someone could lend some input. We want to be able to push or hold down a button and the drive system will switch to the secondary drive VI. Any input would be appreciated. Thanks.
Pretty straight-forward.
You use a Case Structure (from the Programming palette) with only the Holonomic vi in the default False Case and only the Tank Drive vi in the True Case.
Everything else is outside and passed in to be shared by the two cases. The same drive gets wired into the Case statement to both.
Control the case by holding or latching a button input.