Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
rpm_sensor.h File Reference
#include "std.h"
+ Include dependency graph for rpm_sensor.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Author
Freek van Tienen freek.nosp@m..v.t.nosp@m.ienen.nosp@m.@gma.nosp@m.il.co.nosp@m.m RPM sensor based on time difference between pulses

Definition in file rpm_sensor.h.

Macro Definition Documentation

◆ RPM_PULSE_PER_RND

#define RPM_PULSE_PER_RND   14

Definition at line 33 of file rpm_sensor.h.

Function Documentation

◆ rpm_sensor_get_rpm()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rpm_sensor_init()

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().

+ Here is the call graph for this function:

◆ rpm_sensor_periodic()

void rpm_sensor_periodic ( void  )