Go to Post Where's the "drill enough weight holes so we're barely under 120lbs" option? ;-) - AlecMataloni [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #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
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:23.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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