rfu
90c3819df5
fxos8701cq + fxas21002c: add support for I2C
2020-05-04 09:49:23 +02:00
Daniel Agar
6dfe12d122
Revert "drivers/pwm_out: cleanup for multi-platform use" ( #14812 )
...
This reverts commit 0c8dcf94bc .
2020-05-02 23:42:51 -04:00
Daniel Agar
d89b7804f7
boards: initial CUAV X7Pro support (not complete)
...
- this is booting and functional, but still missing a few things
- still needs full PWM output, verification of all sensor rotations and IO, etc
2020-05-01 20:59:28 -04:00
Daniel Agar
0c8dcf94bc
drivers/pwm_out: cleanup for multi-platform use
2020-05-01 20:53:35 -04:00
Daniel Agar
3e5f85b47b
uavcannode: add distance_sensor (all possible instances)
2020-04-30 14:52:06 -04:00
Beat Küng
8bc72fe771
gps drivers: update submodule (M9N support)
2020-04-29 11:39:32 -04:00
Daniel Agar
cc62a52553
PX4Rangerfinder: delete unused CDev
2020-04-26 22:36:46 -04:00
Roman Dvořák
75fe3bee8c
drivers/rpm: add simple RPM message simulator (dummy publisher)
2020-04-25 09:10:11 -04:00
Beat Küng
44537ccd1a
sdp3x: reduce verbosity when no device on the bus
2020-04-24 12:59:50 +02:00
Daniel Agar
31f3a21849
update ecl/EKF with improved covariance prediction stability and change default IMU integration period 4000 us -> 2500 us
...
- bring in PX4/ecl#795 "EKF: Improve covariance prediction stability"
- the ecl/EKF filter update period has changed from 8 ms to 10 ms
- change default integration period 4000 us -> 2500 us (aligns with new EKF filter update period)
2020-04-23 13:55:34 -04:00
Silvan Fuhrer
172e435ec0
VTOL: add parameter to set the PWM_OUTPUT_DEVICE_PATH ( #14732 )
...
The device path is needed to apply PWM limits on the motors that are not
used for FW flight (switch them off). With this parameter the device path can be set
to either IO or FMU, depending on whether the motors are on the IO or FMU port.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2020-04-22 20:42:23 +02:00
Daniel Agar
c5eefc6b2e
new InvenSense ICM20649 IMU driver
2020-04-21 11:25:37 -04:00
Hamish Willee
8236b8da81
Fix up doc links to point to master branch
2020-04-21 08:58:40 +02:00
avionicsanonymous
c8df77b3d2
UAVCAN Air Data Support
2020-04-20 11:24:24 -04:00
Daniel Agar
d9dfedb4f1
drivers/lights: blinkm, rgbled, rgbled_ncp5624c add missing I2CSPIDriver address
...
- fixes https://github.com/PX4/Firmware/issues/14686
2020-04-17 11:54:22 -04:00
Daniel Agar
9ae2f0ea96
bmi160: cleanup
2020-04-15 23:33:41 -04:00
Daniel Agar
06478d9997
delete obsolete SENSORIOCSPOLLRATE/SENSORIOCRESET and systemcmds/config
2020-04-15 23:33:41 -04:00
Daniel Agar
6867947033
irlock: remove ioctl(), read(), and RingBuffer
2020-04-15 23:33:41 -04:00
Daniel Agar
47098f026a
bma180: move to PX4Accelerometer and cleanup
2020-04-15 23:33:41 -04:00
Daniel Agar
9f7c3b9f06
sf1xx: move to PX4Rangerfinder and cleanup
2020-04-15 23:33:41 -04:00
Daniel Agar
f51715c7ab
lps22hb: move to PX4Barometer and cleanup
2020-04-15 23:33:41 -04:00
mcsauder
6548fde024
Whitespace cleanup to quiet new blank line at EOF git hook.
2020-04-15 23:00:39 -04:00
Daniel Agar
751b3497a0
icm20608g/icm20689: force FIFO count check sooner
...
The InvenSense icm20608g and icm20689 don't have a FIFO watermark interrupt, but they do have a data ready interrupt and the ability to get the current FIFO count in the same large transfer as the actual FIFO data. So instead of manually checking the FIFO count before every transfer (costs ~ 1-3% cpu) we trust the data ready counts, verify things are in sync after the large transfer (fifo count + fifo contents), and force a manual check before the next transfer if necessary.
As a precaution this change lowers the threshold for forcing a manual FIFO count check before the large transfer. Forcing the check if out of sync by 2 (or more) samples makes sense because we always do transfers in multiples of 2 (gyro samples per accel).
The other small cosmetic changes are keeping the icm20608g and icm20689 in sync (they're nearly identical).
2020-04-11 12:17:40 -04:00
Daniel Agar
74e99faedf
imu/invensense: minor cleanup
...
- remove leftover Start()
- remove "reset" from command line (stop + start is sufficient)
2020-04-09 09:47:30 -04:00
JacobCrabill
74aa3201ce
uavcannode: Fix Kelvin/Celcius in RawAirData pub
2020-04-07 18:31:10 +02:00
Jacob Dahl
d682ddb510
UAVCAN differential pressure sensor support
...
* added airspeed handling (differential pressure) to uavcan and uavcannode
Co-authored-by: Jacob Crabill <jacob@flyvoly.com >
2020-04-07 00:15:31 -04:00
Daniel Agar
ff74a2a48b
new mpu6000/mpu6500/mpu9250 always schedule backup cycle if using data ready
2020-04-06 23:32:04 -04:00
Daniel Agar
0860a61fa6
new InvenSense IMU drivers review temperature sensitivities and offsets
2020-04-06 22:53:16 -04:00
AlexKlimaj
d8c140be04
UAVCAN Smart Battery Improvements
2020-04-06 21:09:02 -04:00
Julian Oes
f650b91718
battery: check source param inside battery lib
...
This moves the handling of the BAT%d_SOURCE param inside of the battery
library. Users of the library now pass the source instead of the flag
whether to publish. The battery library then checks if the source is
selected using the param and publishes accordingly.
Since we removed the strange system_source flag, we now need to look at
all batteries in commander.
For current estimation - I think - it makes sense to sum them up.
2020-04-06 15:56:54 +02:00
Claudio Micheli
dc29a994b7
msg: extend field definition in msg/esc_report (arming & failure states)
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2020-04-03 09:16:43 +02:00
Julian Oes
4e091a369d
uavcannode: fix format
2020-04-03 09:08:33 +02:00
Jacob Dahl
ff1e5a595d
uavcannode: battery info publishing
2020-04-03 01:30:31 -04:00
Matthias Grob
2baa5ca4d7
minor build fixes and ignored warnings for GCC 9 ( #14159 )
...
- px4io task_main_trampoline add return
- iridiumsbd main_loop_helper add return
- drivers/uavcan ignore Wcast-align, Wdeprecated-copy, and Waddress-of-packed-member for now
- flashparams ignore Wvla-larger-than
- test_time fix printf type
2020-04-02 10:24:36 -04:00
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
2020-04-01 12:24:22 -04:00
Daniel Agar
04bf9afd1b
CDev delete unused pub_blocked
2020-04-01 11:23:26 -04:00
Daniel Agar
b3fe235129
drv_mag: delete unused MAGIOCSRANGE, MAGIOCCALIBRATE, MAGIOCEXSTRAP, MAGIOCSTEMPCOMP
2020-04-01 10:07:08 -04:00
Daniel Agar
cfc087c6ad
rm3100: move to PX4Magnetometer and cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
a59aa865da
qmc5883: move to PX4Magnetometer and cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
ade52d612b
lsm9ds1_mag: minor cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
c9c08d00c3
lsm303agr: move to PX4Magnetometer and cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
5f6f1c554b
lis3mdl: move to PX4Magnetometer and cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
cf12969a29
ist8310: move to PX4Magnetometer and cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
1c333cb664
isentek/ist8308: minor cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
7e173048bb
ak09916: minor cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
613168b598
hmc5883: move to PX4Magnetometer and cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
9899748d12
bmm150: move to PX4Magnetometer and cleanup
2020-04-01 10:07:08 -04:00
Daniel Agar
1cc8e4dc1a
distance_sensor/vl53l0x: move to PX4Rangefinder and cleanup
2020-04-01 10:06:08 -04:00
Daniel Agar
2e2b9a97d3
pwm_out: delete fake() test command
...
- we have better motor test facilities these days
2020-03-31 19:12:31 -04:00
Daniel Agar
ca81175b07
rename drivers/px4fmu -> drivers/pwm_out
...
- split out header
2020-03-31 19:12:31 -04:00