View Single Post
  #1   Spotlight this post!  
Unread 08-01-2016, 22:28
hardcopi hardcopi is offline
Registered User
AKA: Rich Lester
FRC #2959 (The Robotarians)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Coloma, MI
Posts: 271
hardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud of
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
Reply With Quote