Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
Macros | |
#define | RPM_PULSE_PER_RND 14 |
Functions | |
void | rpm_sensor_init (void) |
void | rpm_sensor_periodic (void) |
uint16_t | rpm_sensor_get_rpm (void) |
Definition in file rpm_sensor.h.
#define RPM_PULSE_PER_RND 14 |
Definition at line 33 of file rpm_sensor.h.
uint16_t rpm_sensor_get_rpm | ( | void | ) |
Definition at line 75 of file rpm_sensor.c.
References get_pwm_input_period_in_usec(), and RPM_PULSE_PER_RND.
Referenced by rpm_sensor_periodic(), and stabilization_attitude_run().
void rpm_sensor_init | ( | void | ) |
Definition at line 54 of file rpm_sensor.c.
References DefaultPeriodic, init_first_order_low_pass(), register_periodic_telemetry(), rpm, RPM_FILTER_TAU, rpm_lp, and rpm_sensor_send_motor().
void rpm_sensor_periodic | ( | void | ) |
Definition at line 65 of file rpm_sensor.c.
References ACT_FEEDBACK_RPM_SENSOR_ID, act_feedback_t::idx, act_feedback_t::act_feedback_set_t::rpm, act_feedback_t::rpm, rpm_lp, rpm_sensor_get_rpm(), act_feedback_t::set, and update_first_order_low_pass().