APM:Libraries
Macros | Functions
moduletest.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include <AP_Module_Structures.h>
Include dependency graph for moduletest.c:

Go to the source code of this file.

Macros

#define degrees(x)   (x * 180.0 / M_PI)
 

Functions

void ap_hook_setup_start (uint64_t time_us)
 
void ap_hook_setup_complete (uint64_t time_us)
 
void ap_hook_AHRS_update (const struct AHRS_state *state)
 
void ap_hook_gyro_sample (const struct gyro_sample *state)
 
void ap_hook_accel_sample (const struct accel_sample *state)
 

Macro Definition Documentation

◆ degrees

#define degrees (   x)    (x * 180.0 / M_PI)

Function Documentation

◆ ap_hook_accel_sample()

void ap_hook_accel_sample ( const struct accel_sample state)

Definition at line 53 of file moduletest.c.

Here is the call graph for this function:

◆ ap_hook_AHRS_update()

void ap_hook_AHRS_update ( const struct AHRS_state state)

Definition at line 25 of file moduletest.c.

Here is the call graph for this function:

◆ ap_hook_gyro_sample()

void ap_hook_gyro_sample ( const struct gyro_sample state)

Definition at line 39 of file moduletest.c.

Here is the call graph for this function:

◆ ap_hook_setup_complete()

void ap_hook_setup_complete ( uint64_t  time_us)

Definition at line 17 of file moduletest.c.

Here is the call graph for this function:

◆ ap_hook_setup_start()

void ap_hook_setup_start ( uint64_t  time_us)

Definition at line 12 of file moduletest.c.

Here is the call graph for this function: