Battery Manager
🤔 Problem Statement
The Battery Manager will execute the drone's battery failsafe system. This allows for certain actions to occur when the battery reaches low/critical levels, such as ground communication, autolanding, etc.
Scope
Must have: |
|
---|---|
Nice to have: |
|
Not in scope: |
Milestone 1 Implementation
For Milestone 1, Battery Manager is a class that facilitates communications with battery drivers and intermanager communication with the telemetry manager. Here is a list of available functions.
Function Name | Purpose | Return Type |
---|---|---|
Public Functions | ||
BMUpdate | Updates battery status with current capacity and voltage. | None. Void Function. |
Battery_Logic_Detection | Executes certain actions based on voltage and capacity level (low or critical) | string (placeholder) |
Private Functions | ||
sendBDataToTelemetryManager | Sends battery data to the telemetry manager to notify ground station of current battery status and report when low. | None. Void Function. |
|
|
|
|
|
|
|
|
|
|
|
|