|
Re: Team 2337 - 2012 Rebound Rumble Code
Hey guys, sorry - I had family over today, and frankly I wasn't expecting as much interest as was displayed.
I was intending to post example scripts, but I didn't have access to any - which I was planning to remedy next week. However, I took the scripts from what Zach posted and pushed the ones we actually used this year to GitHub, under the "Autonomous Scripts" folder, as well as a quick Readme on them.
For a quick overview, the way the a function works TYPICALLY follows the formula:
commandFunction(relative, start type, start param, end type, end param)
So, for instance, the function:
intake(relative, label-end, shootOne, t, .5, intakeOne)
Will follow the end of a label('shootOne'), lasts for .5 seconds, and is assigned a label ('intakeOne').
Hopefully this helps.
__________________
University of Michigan Computer Engineering '17
FRC 2337 student alumni (2010-2013)
|