Peter Barker
ec6e2b9da8
AP_RPM: remove unneeded initialisations
...
These should always be static
7 years ago
Patrick José Pereira
00cb588257
AP_RPM: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Andrew Tridgell
c2adc26051
AP_RPM: support RPM pin input on ChibiOS
7 years ago
LukeMike
a319f6632f
VRBRAIN / AP_RPM: removed RPM_PX4_PWM for VR Brain 5.1 and VR Micro Brain 5.2 (they haven't this input pin)
7 years ago
Andrew Tridgell
9b4fef4d50
AP_RPM: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Lucas De Marchi
de5e044b02
global: use static method to construct AP_RPM
7 years ago
Lucas De Marchi
aefae9381e
AP_RPM: add static create method
7 years ago
Pierre Kancir
09364085ed
AP_RPM: example fix travis warning
...
missing function declaration
implicit cast
some style fix
8 years ago
Andrew Tridgell
1c5607b42d
AP_RPM: fixed build for aero-fc
8 years ago
Andrew Tridgell
9e2cfabb8a
AP_RPM: support RPM input on any AUX pin
8 years ago
Lucas De Marchi
5809e2465b
AP_RPM: replace board ifdef with feature ifdef
8 years ago
Lucas De Marchi
b17acfee12
Add aerofc support
...
Flight Controller board that comes on Intel Aero RTF Drone.
8 years ago
murata
81ef065c53
AP_RPM: Unify from print or println to printf.
8 years ago
Andrew Tridgell
0fb959a309
AP_RPM: make pwm_input driver start on demand
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Peter Barker
ecd061dad5
AP_RPM: add missing parameter metadata
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
ae53920e5b
build: don't build examples with old build system
...
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.
8 years ago
Andrew Tridgell
232347569f
AP_RPM: use RPM_SCALING in SITL
...
useful for testing low RPM warning in a GCS
9 years ago
Andrew Tridgell
c6d3f07b5f
AP_RPM: provide an RPM quality in SITL
9 years ago
AndersonRayner
aaa8709194
AP_RPM: Added an example script
9 years ago
Andrew Tridgell
8571202199
AP_RPM: allow for low RPM measurements on PX4
...
this automatically adjusts the timer resolution to allow for low RPM
measurements on PX4
9 years ago
Ricardo de Almeida Gonzaga
5bd034a5a8
Global: start using cmath instead of math.h
9 years ago
Lucas De Marchi
109f807260
AP_RPM: replace header guard with pragma once
9 years ago
Will Sackfield
723e166c13
AP RPM: Initialise backend with _instance
...
* Unsure how this worked in the past
9 years ago
Robert Lefebvre
59a44008d7
AP_RPM: Move timeout check into synthetic quality check.
9 years ago
Robert Lefebvre
fd106b20c7
AP_RPM: Add Minimum Quality Parameter
9 years ago
Robert Lefebvre
1f8b90e876
AP_RPM: Move filter step outside of min/max rpm check
9 years ago
Robert Lefebvre
f04668307d
AP_RPM: Add Minimum RPM parameter
9 years ago
Robert Lefebvre
968599b795
AP_RPM: Add Signal Quality synthetic method.
9 years ago
Robert Lefebvre
a08fa50fda
AP_RPM: Add enabled() method to check if sensor is enabled
9 years ago
Andrew Tridgell
45ea2a9b68
AP_RPM: added a SITL RPM backend
9 years ago
Andrew Tridgell
7375f395f9
AP_RPM: added optional PWM logging
9 years ago
Caio Marcelo de Oliveira Filho
9639add306
AP_RPM: use millis/micros/panic functions
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Andrew Tridgell
ac363c5447
AP_RPM: added RPM_MAX parameter
...
attempt to avoid noise in the pulses
10 years ago
Andrew Tridgell
fdb104b5b6
AP_RPM: fixed build error
10 years ago
Andrew Tridgell
129f33c26d
AP_RPM: define a minimum acceptable period for PWM input
...
this will reject very short periods as invalid. This helps somewhat
with noise on the line
10 years ago
Andrew Tridgell
39c219d452
AP_RPM: first version of RPM sensor driver
10 years ago