ISSDK  1.8
IoT Sensing Software Development Kit
Data Fields
ControlSubsystem Struct Reference

he ControlSubsystem encapsulates command and data streaming functions. More...

#include <control.h>

Collaboration diagram for ControlSubsystem:
Collaboration graph

Data Fields

quaternion_type DefaultQuaternionPacketType
 default quaternion transmitted at power on More...
 
volatile quaternion_type QuaternionPacketType
 quaternion type transmitted over UART More...
 
volatile uint8_t AngularVelocityPacketOn
 flag to enable angular velocity packet More...
 
volatile uint8_t DebugPacketOn
 flag to enable debug packet More...
 
volatile uint8_t RPCPacketOn
 flag to enable roll, pitch, compass packet More...
 
volatile uint8_t AltPacketOn
 flag to enable altitude packet More...
 
volatile int8_t AccelCalPacketOn
 variable used to coordinate accelerometer calibration More...
 
writePort_twrite
 low level function to write a char buffer to the serial stream More...
 
streamData_tstream
 function to create packets for serial stream More...
 

Detailed Description

he ControlSubsystem encapsulates command and data streaming functions.

The ControlSubsystem encapsulates command and data streaming functions for the library. A C++-like typedef structure which includes executable methods for the subsystem is defined here.

Definition at line 42 of file control.h.

Field Documentation

◆ AccelCalPacketOn

volatile int8_t AccelCalPacketOn

variable used to coordinate accelerometer calibration

Definition at line 49 of file control.h.

Referenced by CreateAndSendPackets(), DecodeCommandBytes(), initializeControlPort(), initializeFusionEngine(), and initializeSensors().

◆ AltPacketOn

volatile uint8_t AltPacketOn

flag to enable altitude packet

Definition at line 48 of file control.h.

Referenced by CreateAndSendPackets(), DecodeCommandBytes(), and initializeControlPort().

◆ AngularVelocityPacketOn

volatile uint8_t AngularVelocityPacketOn

flag to enable angular velocity packet

Definition at line 45 of file control.h.

Referenced by CreateAndSendPackets(), DecodeCommandBytes(), and initializeControlPort().

◆ DebugPacketOn

volatile uint8_t DebugPacketOn

flag to enable debug packet

Definition at line 46 of file control.h.

Referenced by CreateAndSendPackets(), DecodeCommandBytes(), and initializeControlPort().

◆ DefaultQuaternionPacketType

quaternion_type DefaultQuaternionPacketType

default quaternion transmitted at power on

Definition at line 43 of file control.h.

Referenced by initializeControlPort(), and initializeFusionEngine().

◆ QuaternionPacketType

volatile quaternion_type QuaternionPacketType

quaternion type transmitted over UART

Definition at line 44 of file control.h.

Referenced by ApplyPerturbation(), CreateAndSendPackets(), DecodeCommandBytes(), initializeControlPort(), and initializeFusionEngine().

◆ RPCPacketOn

volatile uint8_t RPCPacketOn

flag to enable roll, pitch, compass packet

Definition at line 47 of file control.h.

Referenced by CreateAndSendPackets(), DecodeCommandBytes(), and initializeControlPort().

◆ stream

streamData_t* stream

function to create packets for serial stream

Definition at line 51 of file control.h.

Referenced by initializeControlPort(), and main().

◆ write

writePort_t* write

low level function to write a char buffer to the serial stream

Definition at line 50 of file control.h.

Referenced by CreateAndSendPackets(), and initializeControlPort().


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