Skip to content

soifferD/auto_racer

 
 

Repository files navigation

Master: Build Status

How to set up Run Configs (Intellij IDEA)

  • Add new Gradle config
    • Target the auto_racer gradle project
    • Paste clean build into tasks (if build doesnt work for you try jar)
  • Java Application config
    • Main class: autoracer.yourclient.YourMainClass
    • Classpath of module: org.avphs.yourclient.main
    • Under VM options, paste this line:
      • --module-path mods -m org.avphs.yourclient/org.avphs.yourclient.YourMainClass
    • Included clients are carclient and traksim

Module System

  • Extend CarModule and implement its method to crete a new runnable module
  • List your modules dependencies in the getDependencies() method
    • example:

        @Override
         public Class[] getDependencies() {
             return new Class[] {
                 ImageModule.class
             };
         }
      
  • Your module will be given its dependencies in init()
  • Run() will be called once per frame
  • Submit this frames CarCommands to the Core by returning them from commands()

Core

Clients

Contributing

  • Create a feature branch off of master
  • When ready, make a pull request to merge/rebase your branch into master
  • If you branch passes CI tests and gets approved by one reviewer it can be merged

About

This project was created and is maintained by a group of highschool students in Portland, Oregon.

Bugs and requests: submit them through the project's issues tracker.

Issues

Questions: ask them at StackOverflow with the tag REPO.

StackOverflow

Website: AVP_HS

Website

CI

Travis.

License

Apache license

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%