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
compass.h File Reference
#include <Arduino.h>
#include <Wire.h>
#include <math.h>
#include "hummingbird_config.h"
#include "sensor_drivers/lis3mdl_magnetometer.h"
#include "maths/vectors.h"
#include "constants.h"
#include "maths/math_functs.h"
#include "sensor_drivers/sensor_calib_params.h"

Go to the source code of this file.

Classes

class  MagCompass
 Decide whether or not to rotate magnetometer measurements. More...
 

Variables

constexpr LIS3MDL_MeasRange_t MAGCOMPASS_RANGE = LIS3MDL_RANGE_4G
 The compass class is in charge of taking magnetometer measurements and computing tilt-compensated (magnetic) heading. More...
 
MagCompassCompass
 

Variable Documentation

◆ Compass

MagCompass& Compass
extern

◆ MAGCOMPASS_RANGE

constexpr LIS3MDL_MeasRange_t MAGCOMPASS_RANGE = LIS3MDL_RANGE_4G
constexpr

The compass class is in charge of taking magnetometer measurements and computing tilt-compensated (magnetic) heading.