2959 Robotarians present Roboscript 2.02

Last year our programmers wanted to leave their legacy and boy did they deliver. Last year we utilized Roboscript 1.0 which was incredible in competition. It let us ask our alliance partners what they needed us to do then we could program most anything on the fly while we waited in line.

Roboscript is a scripting language that is written in Labview and is used currently inside of CW Tech’s autonomous functions.

Roboscript is programmable via the drive station not needing to be compiled and deployed, etc. They continued their work and created Roboscript 2.0. The original Roboscript had maybe 1/2 a dozen commands, the new version is 2.02 and has loops, if then statements, functions, etc.

Full documentation will be posted shortly, but the code is available now.

Here is a brief example of the code:

drive( 45%, global.distanceTraveled >= 5 );
if( global.shooterError ) {
	jump(10);
}
wait( global.readyToShoot );
set( motor, shooterMotor, 1, false ).async;
lbl(10);
drive( -30%, Elapsed >= 1500ms );

The code is available at: http://robotarians.org/Code%20Dump/Roboscript%202.02.zip