#include <stdint.h>
#include <math.h>
Go to the source code of this file.
Defines | |
#define | GRAVITY_SI 9.810665 |
Functions | |
float | degreesToRadians (float angle) |
float | LLToSIAccX (int16_t acc) |
float | LLToSIAccY (int16_t acc) |
float | LLToSIAccZ (int16_t acc) |
float | LLToSIAnglePitch (int16_t angle) |
float | LLToSIAngleRatePitch (int16_t angle_rate) |
float | LLToSIAngleRateRoll (int16_t angle_rate) |
float | LLToSIAngleRateYaw (int16_t angle_rate) |
float | LLToSIAngleRoll (int16_t angle) |
float | LLToSIAngleYaw (uint16_t angle) |
float | LLToSIClimb (int16_t climb) |
float | radiansToDegrees (float angle) |
short | SIToLLCmdPitch (float angle_cmd) |
short | SIToLLCmdRoll (float angle_cmd) |
short | SIToLLCmdThrust (float thrust_cmd) |
short | SIToLLCmdYawRate (float yaw_rate_cmd) |
#define GRAVITY_SI 9.810665 |
Definition at line 7 of file comm_util_LL.h.
float degreesToRadians | ( | float | angle | ) | [inline] |
Definition at line 3 of file comm_util_LL.c.
float LLToSIAccX | ( | int16_t | acc | ) | [inline] |
Definition at line 20 of file comm_util_LL.c.
float LLToSIAccY | ( | int16_t | acc | ) | [inline] |
Definition at line 25 of file comm_util_LL.c.
float LLToSIAccZ | ( | int16_t | acc | ) | [inline] |
Definition at line 30 of file comm_util_LL.c.
float LLToSIAnglePitch | ( | int16_t | angle | ) | [inline] |
Definition at line 60 of file comm_util_LL.c.
float LLToSIAngleRatePitch | ( | int16_t | angle_rate | ) | [inline] |
Definition at line 96 of file comm_util_LL.c.
float LLToSIAngleRateRoll | ( | int16_t | angle_rate | ) | [inline] |
Definition at line 91 of file comm_util_LL.c.
float LLToSIAngleRateYaw | ( | int16_t | angle_rate | ) | [inline] |
Definition at line 101 of file comm_util_LL.c.
float LLToSIAngleRoll | ( | int16_t | angle | ) | [inline] |
Definition at line 53 of file comm_util_LL.c.
float LLToSIAngleYaw | ( | uint16_t | angle | ) | [inline] |
Definition at line 67 of file comm_util_LL.c.
float LLToSIClimb | ( | int16_t | climb | ) | [inline] |
Definition at line 13 of file comm_util_LL.c.
float radiansToDegrees | ( | float | angle | ) | [inline] |
Definition at line 8 of file comm_util_LL.c.
short SIToLLCmdPitch | ( | float | angle_cmd | ) | [inline] |
Definition at line 119 of file comm_util_LL.c.
short SIToLLCmdRoll | ( | float | angle_cmd | ) | [inline] |
Definition at line 114 of file comm_util_LL.c.
short SIToLLCmdThrust | ( | float | thrust_cmd | ) | [inline] |
Definition at line 129 of file comm_util_LL.c.
short SIToLLCmdYawRate | ( | float | yaw_rate_cmd | ) | [inline] |
Definition at line 124 of file comm_util_LL.c.