Functions | Variables
pid.c File Reference
#include "pid.h"
Include dependency graph for pid.c:

Go to the source code of this file.

Functions

float pidCalc (PID *pid, float error, float d_term, float d_base, float dt)
void pidParamUpdate ()
void pidReset (void)
void processCtrl (void)

Variables

float g_accel_x
float g_accel_y
float g_accel_z
float g_cos_psi
MAV_CTRL_CFG_PKT g_ctrl_cfg_pkt
MAV_CTRL_CMD g_ctrl_cmd
MAV_CTRL_DEBUG_PKT g_ctrl_debug_pkt
MAV_CTRL_INPUT_PKT g_ctrl_input_pkt
MAV_DES_POSE_PKT g_des_pose_pkt
PacketInfog_des_pose_pkt_info
MAV_DES_VEL_PKT g_des_vel_pkt
MAV_FLIGHT_STATE_PKT g_flight_state_pkt
MAV_PID_CFG_PKT g_pid_cfg_pkt
PacketInfog_pid_cfg_pkt_info
MAV_POSE_PKT g_pose_pkt
float g_sin_psi
PID pid_vx
PID pid_vy
PID pid_vz
PID pid_x
PID pid_y
PID pid_yaw
PID pid_z

Function Documentation

float pidCalc ( PID pid,
float  error,
float  d_term,
float  d_base,
float  dt 
)

Definition at line 56 of file pid.c.

void pidParamUpdate ( void  )

Definition at line 72 of file pid.c.

void pidReset ( void  )

Definition at line 31 of file pid.c.

void processCtrl ( void  )

Definition at line 138 of file pid.c.


Variable Documentation

float g_accel_x

Definition at line 10 of file kalman.c.

float g_accel_y

Definition at line 11 of file kalman.c.

float g_accel_z

Definition at line 12 of file kalman.c.

float g_cos_psi

Definition at line 6 of file kalman.c.

MAV_CTRL_CFG_PKT g_ctrl_cfg_pkt

Definition at line 86 of file sdk.c.

Definition at line 64 of file sdk.c.

MAV_CTRL_DEBUG_PKT g_ctrl_debug_pkt

Definition at line 67 of file sdk.c.

MAV_CTRL_INPUT_PKT g_ctrl_input_pkt

Definition at line 89 of file sdk.c.

MAV_DES_POSE_PKT g_des_pose_pkt

Definition at line 92 of file sdk.c.

Definition at line 93 of file sdk.c.

MAV_DES_VEL_PKT g_des_vel_pkt

Definition at line 95 of file sdk.c.

MAV_FLIGHT_STATE_PKT g_flight_state_pkt

Definition at line 65 of file sdk.c.

MAV_PID_CFG_PKT g_pid_cfg_pkt

Definition at line 83 of file sdk.c.

Definition at line 84 of file sdk.c.

MAV_POSE_PKT g_pose_pkt

Definition at line 68 of file sdk.c.

float g_sin_psi

Definition at line 7 of file kalman.c.

Definition at line 5 of file pid.c.

Definition at line 5 of file pid.c.

Definition at line 5 of file pid.c.

Definition at line 5 of file pid.c.

Definition at line 5 of file pid.c.

Definition at line 5 of file pid.c.

Definition at line 5 of file pid.c.



ccny_asctec_firmware_2
Author(s): Ivan Dryanovski, Roberto G. Valenti
autogenerated on Tue Jan 7 2014 11:04:17