Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
|
The first current beacon structure. More...
#include <artemis_devices.h>
Public Attributes | |
BeaconType | type = BeaconType::CurrentBeacon1 |
The type of the beacon. | |
uint32_t | deci = 0 |
A decimal identifier for the beacon. | |
float | busvoltage [ARTEMIS_CURRENT_BEACON_1_COUNT] |
The voltage data. | |
float | current [ARTEMIS_CURRENT_BEACON_1_COUNT] |
The current data. | |
The first current beacon structure.
This defines the structure of the first current beacon.
The first current beacon consists of four members: the type of beacon (type
), the decimal identifier (deci
), the voltage data (busvoltage
[]), and current data (current
[]).A diagram of the struct is included below.
1 byte 4 bytes 4*X bytes 4*X bytes +------+-------+--------------+-----------+ | type | deci | busvoltage[] | current[] | +------+-------+--------------+-----------+ (Note: X = ARTEMIS_CURRENT_BEACON_1_COUNT)
float Artemis::Devices::CurrentSensors::currentbeacon1::busvoltage[ARTEMIS_CURRENT_BEACON_1_COUNT] |
The voltage data.
The bus voltage values are stored as an array of floating-point values. The length of the array is defined by the ARTEMIS_CURRENT_BEACON_1_COUNT constant. This represents the number of sensor readings that can be stored in one beacon.
float Artemis::Devices::CurrentSensors::currentbeacon1::current[ARTEMIS_CURRENT_BEACON_1_COUNT] |
The current data.
The current values are stored as an array of floating-point values. The length of the array is defined by the ARTEMIS_CURRENT_BEACON_1_COUNT constant. This represents the number of sensor readings that can be stored in one beacon.
uint32_t Artemis::Devices::CurrentSensors::currentbeacon1::deci = 0 |
A decimal identifier for the beacon.
This value is the current uptime of the Teensy in milliseconds. By default, it is zero.
BeaconType Artemis::Devices::CurrentSensors::currentbeacon1::type = BeaconType::CurrentBeacon1 |
The type of the beacon.
The BeaconType of the beacon, which is set to CurrentBeacon1.