Skip to content

AutonomousCarProject/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 methods

  • Your Module will be passed a CarData in init(), use this to get data from other modules and provide your own data.

    • Getting data example from ImageModule:
    window = (WindowModule) carData.getModuleData("window");
    var camera = (Camera) carData.getModuleData("camera");
    • Providing data example from WindowModule:
      private void init() {
          carData.addData("window", this);
      }
  • update() will be called once per frame.

  • Submit current frame's CarCommands to the Core by returning them from commands()

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

Software for an autonomous model race car

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages