Hummingbird Flight Software
Flight software for the Hummingbird FCU quadcopter flight controller. Designed to run on the Teensy 4.1. Developed with VSCode+PlatformIO.
Classes | Variables
battery_monitor.h File Reference
#include <Arduino.h>
#include <Wire.h>
#include "hummingbird_config.h"
#include "debugging.h"
#include "filters/median_filter.h"

Go to the source code of this file.

Classes

class  VoltageMonitor
 

Variables

constexpr float BATTMONITOR_OFFSET = 0.343256f
 Offset factor used to calibrate voltage measurements. More...
 
constexpr float BATTMONITOR_SF = 0.016926f
 Scale factor used to calibrate voltage measurements. More...
 
VoltageMonitorBattMonitor
 

Variable Documentation

◆ BattMonitor

VoltageMonitor& BattMonitor
extern

◆ BATTMONITOR_OFFSET

constexpr float BATTMONITOR_OFFSET = 0.343256f
constexpr

Offset factor used to calibrate voltage measurements.

◆ BATTMONITOR_SF

constexpr float BATTMONITOR_SF = 0.016926f
constexpr

Scale factor used to calibrate voltage measurements.