Daniel Agar
88fb6f7b8e
cm8jl65: move to PX4Rangefinder and cleanup
...
* cm8jl65 split out header and main
* cm8jl65: move to PX4Rangefinder
* PX4Rangefinder: move signal_quality handling to PX4Rangefinder
2019-09-25 12:52:45 -04:00
Mark Sauder
4a6742c3e6
Deprecate the non-functioning HC_SR04 driver. ( #13021 )
2019-09-25 10:34:50 +02:00
mcsauder
cdbe4a3ee8
Refactor the terraranger driver.
2019-09-22 12:23:25 -04:00
Daniel Agar
be61d93d64
tfmini split out header and main
2019-09-17 21:50:59 -04:00
Daniel Agar
9b7ef7141f
tfmini cleanup and use PX4Rangefinder
2019-09-17 21:50:59 -04:00
Nico van Duijn
18eaeb564d
PMW3901 improvements ( #12977 )
...
* PMW3901: use frame count and quality metric
* PMW3901: set qual to 0 for unsuccessful SPI reads
* PMW3901: improve comment for collect_time
* PMW3901: set qual to zero for huge flow values
2019-09-17 10:54:56 -04:00
Nico van Duijn
a26865c279
drivers: set CM8JL65 signal_quality invalid beyond bounds
2019-09-13 10:42:10 -04:00
mcsauder
e4509486e8
Correct a typo and create a #define for the LeddarOne FOV.
2019-09-06 11:59:29 +02:00
mcsauder
aea139bc1b
Correct the LeddarOne FOV and deprecate the unneeded _distance_sensor_topic after migrating to PX4RangeFinder.
2019-09-06 11:59:29 +02:00
mcsauder
ddd9a97d42
Modify the LeddarOne driver class to utilize the PX4RangeFinder library.
2019-09-06 11:59:29 +02:00
mcsauder
94d39e4466
Return from LeddarOne::collect() via LeddarOne::measure() and alphabetize #includes.
2019-09-06 11:59:29 +02:00
mcsauder
f31ac44289
Const correctness and fix leddar_one::test().
2019-09-06 11:59:29 +02:00
mcsauder
c0e8b37d96
Add collect() validation to the LeddarOne::init() method, format whitespace and console output.
...
Reduce measure/collect timing logic complexity to use ScheduleOnInterval() rather than SchuleDelayed().
2019-09-06 11:59:29 +02:00
mcsauder
04073f2c71
Deprecate the LeddarOne request() and publish() methods to match other distance sensor driver classes and fix perf counter errata.
2019-09-06 11:59:29 +02:00
Julian Oes
c8d13bacf2
pwm_out_sim: don't advertise garbage
2019-09-04 09:21:54 -07:00
TSC21
f6a5c7cca9
qshell: rename qshell sequence fields so they can be parsed on fastrtpsgen
2019-09-04 17:04:28 +01:00
BazookaJoe1900
6ab5c2170e
remove unused pca8574 and oreoled drivers
2019-09-04 08:05:08 -07:00
Nico van Duijn
b4709d229a
PMW3901: use quality metric
2019-09-04 08:03:04 -07:00
Claudio Micheli
5fd483dbf8
ll40ls: fixed typo errors.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
6a8b25a1b9
ll40ls: simplified probe logic and lowered max readable distance.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
59f61b3107
ll40ls: fix v3hp signal quality and modified probe to detect v3hp.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
327529d063
ll40ls: unify maximum operational distance to 35m
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
fcdd2fabeb
ll40ls: refactor driver start on i2c.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
5eefd9409b
ll40ls: [Wingtra docet] fix for properly resetting v3 and v3hp modules.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
7799f4c68b
ll40ls: fix for lidar lite v3hp
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-04 15:27:16 +01:00
Claudio Micheli
b6bba0428a
uavcan: fix limit actuator poll interval.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-09-03 09:35:01 -05:00
bazooka joe
49c74ab021
add new parameter LIGHT_EN_BLINKM to start blinkm lights
2019-09-02 20:02:00 -04:00
Daniel Agar
9f5f9c577e
uavcan: limit actuator controls poll interval
...
* rather than only in UavcanEscController updates
2019-09-02 14:21:54 -04:00
BazookaJoe1900
8a45c6145b
add new parameter SENS_EN_PMW3901 to start pmw3901 optical flow
2019-09-02 11:08:51 -04:00
Julien Lecoeur
ced201bdb5
IO: respect actuator_armed.prearmed flag
2019-09-02 10:47:40 -04:00
Daniel Agar
9aad996b04
PMW3901 add register write delay (TIME_us_TSWW)
2019-09-01 14:19:46 -04:00
Daniel Agar
ab92f3ab7d
pmw3901 split out header and main
2019-09-01 14:19:46 -04:00
Daniel Agar
41e544727c
pmw3901 cleanup and updates
...
- includes updates from PixArt
2019-09-01 14:19:46 -04:00
Daniel Agar
9c6d4e28ea
fxos8701cq cleanup and move to PX4Accelerometer/PX4Magnetomer
2019-09-01 12:08:52 -04:00
Daniel Agar
ee9f65b38b
fxos8701cq split out header and main
2019-09-01 12:08:52 -04:00
Beat Küng
f0ee0b5d49
MixingOutput: make scheduling configurable
...
And make sure fmu calls MixingOutput::updateSubscriptions on startup even
if no mixer is loaded, so that it gets scheduled.
2019-08-31 10:05:00 -04:00
Beat Küng
a2ebbe9066
pwm_limit: rename to output_limit
...
As there is nothing pwm-specific about it.
2019-08-31 10:05:00 -04:00
Beat Küng
077b229655
MixingOutput: make mixer loading thread-safe
2019-08-31 10:05:00 -04:00
Beat Küng
d3fb610fde
mixer_module: create MixingOutput library and use in fmu
...
This should be a pure refactoring, no functional change.
2019-08-31 10:05:00 -04:00
Beat Küng
0ec6e79a0a
fmu: remove unused _num_failsafe_set
2019-08-31 10:05:00 -04:00
Beat Küng
1d577802cf
fmu: remove unused write() interface
2019-08-31 10:05:00 -04:00
Beat Küng
5b87b81b90
fmu: fix comments & documentation
2019-08-31 10:05:00 -04:00
Daniel Agar
78ef8aab2d
STACK_MAIN increase default 1024 -> 2048
2019-08-30 19:11:51 -07:00
Beat Küng
43fdcd7876
px4_middleware: remove that header and move px4::init to px4_init.h
...
delete include:
for i in $(grep -rl 'px4_middleware.h' src platforms); do sed -i '/#include <px4_middleware.h/d' $i; done
2019-08-30 07:59:44 +02:00
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
2019-08-30 07:59:44 +02:00
Beat Küng
5d0e72040c
src/platforms/posix: move to platforms/posix/src/px4/common and src/drivers/driver_framework_wrapper
2019-08-30 07:59:44 +02:00
Beat Küng
8cbb3852ba
src/platforms/qurt: move to src/drivers
2019-08-30 07:59:44 +02:00
Beat Küng
3bdfd8ce8d
ToneAlarmInterface: move to drivers/drv_tone_alarm
...
It belongs there since it's not a library providing the implementation, but
just declaring the interface.
2019-08-30 07:59:44 +02:00
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
2019-08-30 07:59:44 +02:00
Beat Küng
3003e7d0fc
drv_led_pwm: move to arch-specific directory
2019-08-30 07:59:44 +02:00