Skip to content
/ RASI Public

Repository for development of the Robocracy Autonomous Scripting Interface.

Notifications You must be signed in to change notification settings

ftc-9773/RASI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RASI, for Robocracy Autonomous Scripting Interface is a system we developed for encoding autonomous programs in a file.

Instructions for use:

A RASI file must be created with the extension ".rasi". This file encodes the autonomous program.

To add a RASI command, simply add a method in the TeamRasiActions class. Typing the name of this method in the RASI file will call this method.

The opmode must be a LinearOpMode. In the opmode class, construct a RasiExecutor object. Pass the opmode to the RasiExecutor by typing "this" as the first argument.

In the runOpMode method, call RasiExecutor.runRasi()

RASI Syntax:

Run a command by typing in the form:

    methodname, argument1, argument2, argument3

Each command is separated by a newline

RASI tags:

    Rasi has basic flow control through the use of tags. Tags precede a 
	command and determine whether or not it runs, The have the form:

tag: command, argument1, argument2, argument3

Tags can be changed using the RasiExecutor.setTags, RasiExecutor.addTag, and RasiExecutor.removeTag methods.

About

Repository for development of the Robocracy Autonomous Scripting Interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages