|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/sensors/rpm_sensor.h"#include "mcu_periph/pwm_input.h"#include "modules/energy/electrical.h"#include "modules/core/abi.h"#include "filters/low_pass_filter.h"#include "modules/datalink/telemetry.h"
Include dependency graph for rpm_sensor.c:Go to the source code of this file.
Macros | |
| #define | RPM_FILTER_TAU RPM_SENSOR_PERIODIC_PERIOD |
Functions | |
| static void | rpm_sensor_send_motor (struct transport_tx *trans, struct link_device *dev) |
| void | rpm_sensor_init (void) |
| void | rpm_sensor_periodic (void) |
| uint16_t | rpm_sensor_get_rpm (void) |
Variables | |
| static struct FirstOrderLowPass | rpm_lp |
| uint16_t | rpm |
Definition in file rpm_sensor.c.
| #define RPM_FILTER_TAU RPM_SENSOR_PERIODIC_PERIOD |
Definition at line 36 of file rpm_sensor.c.
Definition at line 75 of file rpm_sensor.c.
References foo, get_pwm_input_period_in_usec(), and RPM_PULSE_PER_RND.
Referenced by rpm_sensor_periodic(), and stabilization_attitude_run().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 54 of file rpm_sensor.c.
References DefaultPeriodic, foo, init_first_order_low_pass(), register_periodic_telemetry(), rpm, RPM_FILTER_TAU, rpm_lp, and rpm_sensor_send_motor().
Here is the call graph for this function:Definition at line 65 of file rpm_sensor.c.
References ACT_FEEDBACK_RPM_SENSOR_ID, foo, 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().
Here is the call graph for this function:
|
static |
Definition at line 47 of file rpm_sensor.c.
References Electrical::current, dev, electrical, foo, and rpm.
Referenced by rpm_sensor_init().
Here is the caller graph for this function:| uint16_t rpm |
Definition at line 33 of file rpm_sensor.c.
Referenced by actuators_uavcan_send_esc(), DshotErpsSetFromRpm(), esc_msg_send(), rpm_sensor_init(), and rpm_sensor_send_motor().
|
static |
Definition at line 32 of file rpm_sensor.c.
Referenced by rpm_sensor_init(), and rpm_sensor_periodic().