Artemis Teensy Flight Software
The software on the Teensy in the Artemis cubesat.
Artemis::Devices::IMU::imubeacon Struct Reference

The structure of an IMU beacon. More...

#include <artemis_devices.h>

Public Attributes

BeaconType type = BeaconType::IMUBeacon
 The type of 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 Celsius, of the IMU.
 

Detailed Description

The structure of an IMU beacon.

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 |
+--------+---------+

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