Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
Loading...
Searching...
No Matches
Artemis::Devices::IMU::imubeacon Struct Reference

The IMU beacon structure. More...

#include <artemis_devices.h>

Public Attributes

BeaconType type = BeaconType::IMUBeacon
 The type of the beacon.
 
uint32_t deci = 0
 A decimal identifier for the beacon.
 
float accelx = 0
 The accelerometer reading for the x axis.
 
float accely = 0
 The accelerometer reading for the y axis.
 
float accelz = 0
 The accelerometer reading for the z axis.
 
float gyrox = 0
 The gyroscope reading for the x axis.
 
float gyroy = 0
 The gyroscope reading for the x axis.
 
float gyroz = 0
 The gyroscope reading for the y axis.
 
float imutemp = 0
 The temperature, in Celcius, of the IMU.
 

Detailed Description

The IMU beacon structure.

This defines the structure of the IMU beacon.

The magnetometer beacon consists of nine members: the type of beacon (type), the decimal identifier (deci), the accelerometer values for the x, y, and z axes (accelx, accely, accelz), the gyroscope values for the x, y, and z axes (gyrox, gyroy, gyroz), and the IMU temperature (imutemp).A diagram of the struct is included below.

 1 byte   4 bytes  4 bytes    4 bytes    4 bytes    4 bytes   4 bytes
+--------+--------+----------+----------+----------+---------+---------+
|  type  |  deci  |  accelx  |  accely  | accelz   |  gyrox  |  gyroy  |
+--------+--------+----------+----------+----------+---------+---------+
 4 bytes   4 bytes
+--------+---------+
| gyroz  | imutemp |
+--------+---------+

Member Data Documentation

◆ deci

uint32_t Artemis::Devices::IMU::imubeacon::deci = 0

A decimal identifier for the beacon.

This value is the current uptime of the Teensy in milliseconds.

◆ type

BeaconType Artemis::Devices::IMU::imubeacon::type = BeaconType::IMUBeacon

The type of the beacon.

The BeaconType of the beacon, which is set to IMUBeacon.


The documentation for this struct was generated from the following file: