Skip to content

AndromedaOne/2019Code

Repository files navigation

2019Code

2019 Robot Codebase

After merging master onto your branch, you must run gradlew spotlessApply to allow for your branch to build.

Configuration Documentation

Please do not SSH into the robot as admin or create files as admin!

Overall Format

The configuration this year is quite similar to JSON, with a few major differences

  • The equals sign (=) can be used instead of colons
  • Commas are not required
  • Keys and values do not need to be in quotations unless its a string

Example

robot.conf

robot.name = Paul

foo {
    bar="foobar"
}

Accessing it

Config conf = ConfigFactory.parseFile(new File("/home/lvuser/robot.conf"));

String foo = conf.getString("foo.bar");
System.out.println(foo);

This should output foobar

About

2019 Robot Codebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12