Daniel Agar
cc62a52553
PX4Rangerfinder: delete unused CDev
2020-04-26 22:36:46 -04:00
Hamish Willee
8236b8da81
Fix up doc links to point to master branch
2020-04-21 08:58:40 +02:00
Daniel Agar
9f7c3b9f06
sf1xx: move to PX4Rangerfinder and cleanup
2020-04-15 23:33:41 -04:00
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
2020-04-01 12:24:22 -04:00
Daniel Agar
1cc8e4dc1a
distance_sensor/vl53l0x: move to PX4Rangefinder and cleanup
2020-04-01 10:06:08 -04:00
Hyon Lim
eb1bad0185
A comment is added for TFmini valid minimum parameter.
2020-03-27 09:59:05 -04:00
Hyon Lim
7e7506ec52
Enhancement: 0.3 for TFMini was too low, as TFmini outputs slightly more than 0.3 when it is very near to the ground.
...
This cause EKF not fallback to barometer in worst case.
2020-03-27 09:59:05 -04:00
Daniel Agar
b73ec18abb
boards: add px4_fmu-v4 and px4_fmu-v5 optimized (-O3) build variants
2020-03-22 17:50:17 -04:00
Beat Küng
336745f9f7
tfmini: reduce sampling rate from 10kHz to 143Hz
...
10kHz sampling seems excessive, given that the sensor is expected to output
at 100Hz.
Also don't reschedule immediately in case we have not received any data.
2020-03-21 12:00:09 -04:00
Beat Küng
d6bb5b3b9e
i2c spi buses: enforce drivers to set default SPI/I2C bus frequency
...
Not a lot of drivers use the global default, which is somewhat arbitrary.
2020-03-17 23:31:17 -04:00
Beat Küng
d6b9cfa3e2
pga460: fix documentation
2020-03-17 23:31:17 -04:00
Beat Küng
0924ff7fcf
refactor vl53lxx: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
83b367f000
refactor teraranger: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
5a26f06f8a
fix sf0x: check if device port is given
...
otherwise we risk dereferencing a null pointer
2020-03-17 23:31:17 -04:00
Beat Küng
bbe15aa61a
refactor srf02: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
a6ddf0e4b9
refactor sf1xx: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
f743585160
refactor mb12xx: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
7e3f40d1c2
refactor mappydot: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
1b1e1ba31f
refactor ll40ls: use driver base class
2020-03-17 23:31:17 -04:00
Beat Küng
df99555132
refactor ll40ls: split I2C and PWM into separate drivers
...
- there was almost nothing shared
- it will fit better into the updated I2C driver structure
2020-03-17 23:31:17 -04:00
Daniel Agar
d7c3e1066a
uavcannode updates and px4_fmu-v4_cannode example
...
- drivers/uavcannode add baro, mag, gps publications
- delete old px4_cannode-v1 board
- add stripped down simple rcS for CAN nodes
2020-02-16 12:11:54 -05:00
Beat Küng
685be9b3d1
io pins: avoid using GPIO_GPIOx_OUTPUT, use timer_io_channels instead
...
The whole system now uses timer_io_channels, which will allow the redundant
GPIO_GPIOx_OUTPUT definitions to be removed.
2020-02-13 03:49:16 -08:00
Daniel Agar
21a8d7db7f
WorkItem modules: Run() shouldn't be public
2020-01-22 12:03:03 -05:00
Daniel Agar
ef9a930816
ulanding_radar: move to PX4Rangefinder and cleanup
2020-01-08 12:42:56 -05:00
Daniel Agar
eef508cc4a
teraranger: move to PX4Rangefinder and cleanup
2020-01-08 12:36:42 -05:00
Jacob Dahl
d08ec05bab
PWM automatic trigger system (ATS) for parachutes ( #13726 )
...
* parameter and logic to commander for triggering failsafe from external automatic trigger system.
* logic to startup script for enabling ATS. Added uORB publishing to pwm_input module.
* Refactored out CDev usage from pwm_input and ll40ls. Refactored out ll40ls specifics from pwm_input and cleaned up dead code.
2020-01-06 20:14:06 -05:00
Daniel Agar
45937fb70a
srf02: move to PX4Rangefinder and cleanup
2020-01-04 11:23:17 -05:00
Daniel Agar
0c9161f004
sf0x: move to PX4Rangefinder and cleanup
2020-01-03 11:01:48 -05:00
Daniel Agar
d5fb7f47c2
sf0x: split into separate header, implementation, and main
2020-01-03 11:01:48 -05:00
Daniel Agar
04efd91840
leddar_one: split into separate header, implementation, and main
...
- remove default serial port
2019-12-31 10:51:28 -05:00
Daniel Agar
22a005c9f4
delete module's redundant print_status()
...
- we can already get the running status from ModuleBase and the other misc information is already available through perf or uORB
2019-11-30 18:22:19 -05:00
mcsauder
0f2ba84f0a
Add rangefinder module dependency to tfmini CMakeLists.txt.
2019-11-27 20:52:04 -05:00
Daniel Agar
419787cb93
ulanding: move to UART WQ
2019-11-27 20:44:32 -05:00
Daniel Agar
5c9732f08c
tfmini: move to UART WQ
2019-11-27 20:44:32 -05:00
Daniel Agar
d22f2fafd9
sf0x: move to UART WQ
2019-11-27 20:44:32 -05:00
Daniel Agar
f7ea3fac90
leddar_one: move to UART WQ
2019-11-27 20:44:32 -05:00
Daniel Agar
223bc2df0b
cm8jl65: move to UART WQ
2019-11-27 20:44:32 -05:00
Morten Fyhn Amundsen
214e9c8244
ll40ls: Fix rotation argument parse bug
...
Before (introduced in 7b16c3482d ), there was no colon after
the `R` argument in the options specification string (ab:R).
The R should be followed by a colon, because in indicates that
the R option requires an argument, which it does.
So I added a colon.
2019-11-27 11:21:39 -05:00
Daniel Agar
1c4e854f93
cmake don't build param "c" files and remove param defines
...
- these aren't actual source code
2019-11-11 10:25:42 -05:00
Jacob Dahl
005f530eed
Removed lidar lite reset after intialization
2019-11-03 20:07:27 +01:00
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
mcsauder
7389bf1759
Add rangefinder dependency to the CM8JL65 driver CMakeList and organize #includes.
2019-10-24 01:50:49 -04:00
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
2019-10-02 12:23:17 -04:00
dvornikov-aa
ad728cc0c7
sf1xx: Fix max distance for SF/LW20/b
2019-09-30 20:10:57 +01:00
mcsauder
4f71c4e123
Change #defines to static constexpr types in LidateLite.h, updated the docs link in ll40ls.cpp, and shortened comments to allow uniform indentation in LidarLiteI2C.h.
2019-09-27 07:55:53 +01:00
mcsauder
9023030931
LidarLite driver minor comment updates/formatting and change instances of OK to PX4_OK.
2019-09-27 07:55:53 +01:00
mcsauder
7b16c3482d
Refactor the ll40ls namespace driver methods to more closely match the cm8jl65, mappydot, leddar_one, and other distance sensor driver implementations.
2019-09-27 07:55:53 +01:00
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