Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   2959 Robotarians present Roboscript 2.02 (http://www.chiefdelphi.com/forums/showthread.php?t=141096)

hardcopi 08-01-2016 22:28

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:

PHP Code:

drive45%, global.distanceTraveled >= );
if( global.
shooterError ) {
    
jump(10);
}
wait( global.readyToShoot );
setmotorshooterMotor1false ).async;
lbl(10);
drive( -30%, Elapsed >= 1500ms ); 

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


All times are GMT -5. The time now is 10:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi