Hummingbird Flight Software
Flight software for the Hummingbird FCU quadcopter flight controller. Designed to run on the Teensy 4.1. Developed with VSCode+PlatformIO.
include
hummingbird_config.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// HUMMINGBIRD FCU CONFIGURATION PARAMETERS
3
//
4
// Code By: Michael Wrona
5
// Created: 6 Feb 2021
6
// ----------------------------------------------------------------------------
15
#pragma once
16
17
26
#define SENSOR_I2C Wire2
27
34
// #define GPS_PORT Serial7
35
42
#define GPS_I2C Wire2
43
51
#define TELEM_PORT Serial8
52
60
#define AUX_I2C Wire
61
69
#define AUX_SERIAL Serial4
70
78
#define VCC_PIN 22
79
86
#define RED_LED 15
// Red status LED PWM
87
#define GRN_LED 14
// Green status LED PWM
88
// #define BLU_LED 13 // Blue status LED PWM
89
95
constexpr
float
FLOAT_PREC_ZERO
= 1e-7F;
// Single floating point precision
96
constexpr
float
FLOAT_PREC_ZERO_NOISY
= 1e-5F;
// Single floating point precision used when 'kinda close to zero' is good enough
FLOAT_PREC_ZERO_NOISY
constexpr float FLOAT_PREC_ZERO_NOISY
Definition:
hummingbird_config.h:96
FLOAT_PREC_ZERO
constexpr float FLOAT_PREC_ZERO
Define floating point precision for floats close to zero.
Definition:
hummingbird_config.h:95
Generated by
1.9.1