-
Notifications
You must be signed in to change notification settings - Fork 0
programmer guidelines
tekdemo edited this page Oct 4, 2024
·
1 revision
Safety first! The code for the bot should always
- Be safe
- Not damage itself; Mechanisms should use sa
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.
- 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.