![]() |
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/nav/nav_shakestart.h"
#include "modules/core/abi.h"
#include "firmwares/fixedwing/nav.h"
#include "autopilot.h"
#include "firmwares/fixedwing/stabilization/stabilization_attitude.h"
Go to the source code of this file.
Macros | |
#define | NAV_SHAKE_START_ACC_ID ABI_BROADCAST |
Functions | |
static void | nav_shake_start_acc_cb (uint8_t sender_id, uint32_t stamp, struct Int32Vect3 *accel) |
void | nav_shakestart_init (void) |
void | nav_shakestart_reset (void) |
void | nav_shakestart_periodic (void) |
bool | nav_shakestart_run (void) |
Variables | |
static bool | nav_shakestart_detected = false |
static float | nav_shakestart_accel = 0 |
static abi_event | nav_shake_start_acc_ev |
Definition in file nav_shakestart.c.
#define NAV_SHAKE_START_ACC_ID ABI_BROADCAST |
Definition at line 35 of file nav_shakestart.c.
|
static |
Definition at line 45 of file nav_shakestart.c.
References ACCEL_FLOAT_OF_BFP, foo, nav_shakestart_accel, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
Referenced by nav_shakestart_init().
Definition at line 56 of file nav_shakestart.c.
References foo, nav_shake_start_acc_cb(), nav_shake_start_acc_ev, and NAV_SHAKE_START_ACC_ID.
Definition at line 69 of file nav_shakestart.c.
References foo, nav_shakestart_accel, and nav_shakestart_detected.
Definition at line 62 of file nav_shakestart.c.
References nav_shakestart_accel, and nav_shakestart_detected.
Definition at line 104 of file nav_shakestart.c.
References foo, nav_shakestart_detected, NavAttitude, NavVerticalAutoThrottleMode, and NavVerticalThrottleMode.
|
static |
Definition at line 43 of file nav_shakestart.c.
Referenced by nav_shakestart_init().
|
static |
Definition at line 40 of file nav_shakestart.c.
Referenced by nav_shake_start_acc_cb(), nav_shakestart_periodic(), and nav_shakestart_reset().
Definition at line 39 of file nav_shakestart.c.
Referenced by nav_shakestart_periodic(), nav_shakestart_reset(), and nav_shakestart_run().