ISSDK  1.8
IoT Sensing Software Development Kit
Functions
debug.h File Reference

ApplyPerturbation function used to analyze dynamic performance. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ApplyPerturbation (SensorFusionGlobals *sfg)
 

Detailed Description

ApplyPerturbation function used to analyze dynamic performance.

The ApplyPerturbation function applies a user-specified step function to prior fusion results which is then "released" in the next fusion cycle. When used in conjustion with the NXP Sensor Fusion Toolbox, this provides a visual indication of the dynamic behavior of the library.

Definition in file debug.h.

Function Documentation

◆ ApplyPerturbation()

void ApplyPerturbation ( SensorFusionGlobals sfg)

The ApplyPerturbation function applies a user-specified step function to prior fusion results which is then "released" in the next fusion cycle. When used in conjustion with the NXP Sensor Fusion Toolbox, this provides a visual indication of the dynamic behavior of the library. This function is normally involved via the "sfg." global pointer.

Definition at line 36 of file debug.c.

References F180OVERPI, SensorFusionGlobals::iPerturbation, ONEOVERSQRT2, SensorFusionGlobals::pControlSubsystem, Quaternion::q0, Quaternion::q1, Quaternion::q2, Quaternion::q3, Q3, Q3G, Q3M, Q6AG, Q6MA, Q9, qAeqAxB(), and ControlSubsystem::QuaternionPacketType.

Here is the call graph for this function: