Skip to content

programmer guidelines

tekdemo edited this page Oct 4, 2024 · 1 revision

Programmer Guidelines

Programming targets

Safety first! The code for the bot should always

  • Be safe
  • Not damage itself; Mechanisms should use sa

Drive team + Client

Drive team are the primary users of the robot. As such, part of their job is to dictate how the robot should work to be effective on the field. Programmers should do their best to make their operations fast, efficient, and easy to perform.

Coding practices

  • Subsystems Use simple subsystems, when possible. They should expose meaningful APIs to perform common tasks via a functional interface.
  • Sensor Systems Use Singleton patterns for read-only sensor systems. This allows them to be interfaced easily.
  • commands Use effective, flexible commands. Contain complex constraints here, and consider decorators to tweak behaviours.
Clone this wiki locally