What i mean by scripting is the following to find and kick a ball:
Code:
BEGIN autonomous
var balls = 2
go forward 0.25 impulse
loop termcon=enabled:
if kickersense == true:
stop
kick hard
if balls == 0:
gtfo this loop
resume course and speed
END autonomous
I want to use some macros that call java functions, much like one would create python bindings for C programs.
I would also have it use sensors, but only the sensors i allow, for instance the boolean sensor that we put by the kicker that detects the existence of a ball before you kick.