-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Aside from migrating to using a servo for firing torpedos, the following cleanup tasks should be done.
- Just use
sinfunction frommath.hinstead of the custom sin table. It harms readability more than it matters for performance. - Convert the handling of actuator commands to use look up tables instead of massive blocks of if statements. Convert values used into integer values to help with this. (or at the least use if/else if instead of just if)
- Move hardware definitions to a common
hardware.hfile. - General indentation/code formatting fixes.
Metadata
Metadata
Assignees
Labels
No labels