/
Battery Manager

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:

  • Notifying ground stations of low battery status

  • Auto landing when critical battery achieved

  • Visual/audio indication when battery low (LED flashing, buzzers)

Must have:

  • Notifying ground stations of low battery status

  • Auto landing when critical battery achieved

  • Visual/audio indication when battery low (LED flashing, buzzers)

Nice to have:

  • Auto landing to the “home“ waypoint when critical battery achieved

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

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.

 

 

 

 

 

 

 

 

 

 

 

 

Related content