Daniel Agar
b60a519cbc
drivers accel & gyroscope: use float for integrator accumulation
...
- fixes Coverity CID 352841 and CID 352840
2020-01-05 21:30:40 -05:00
Daniel Agar
44f9de5e37
delete parrot bebop board support
...
This target was never fully supported and is heavily dependent on a number of DriverFramework drivers that have no in tree equivalents (bebop bus, flow, rangefinder, etc). Deleting this will make it easier to fully drop DriverFramework shortly.
2020-01-05 19:46:51 -05:00
Daniel Agar
ce1e9762b0
deprecate df_hmc5883_wrapper and replace with in tree hmc5883
...
- deprecate DriverFramework hmc5883 driver (df_hmc5883_wrapper)
- update aerotenna ocpoc and snapdragon flight eagle boards to use in tree hmc5883
2020-01-05 15:17:26 -05:00
Daniel Agar
aaf5670e7d
deprecate df_bmp280_wrapper and replace with in tree bmp280
...
- deprecate DriverFramework bmp280 driver (df_bmp280_wrapper)
- update beaglebone blue and snapdragon flight eagle boards to use in tree bmp280
- update posix (really just linux) and qurt I2C wrappers
- tested on beaglebone blue
2020-01-05 13:33:12 -05:00
Daniel Agar
1da7209fe1
lps25h: move to PX4Barometer and cleanup
2020-01-05 10:35:13 -05:00
Mohammed Kabir
bf9e193062
collision_prevention: fix sensor range float rounding
2020-01-05 20:22:51 +05:30
Daniel Agar
bf23b1d0d8
linux_pwm_out: fix strncpy length and task main signature
2020-01-04 22:03:43 -05:00
Daniel Agar
dcbb03b785
bmp280: fix device id (device type not set)
2020-01-04 13:16:08 -05:00
Daniel Agar
091c111f4f
mpu9250: more small fixes and cleanup
...
- delete unused _checked_bad
- delete unused "good transfers" perf counter
- delete unused "bad transfers" perf counter
- use proper register names in transfer structures
- mpu9250 don't transfer unused status register
- mpu9250 mag (ak8963) check overflow
- mpu9250 mag (ak8963) pass data as const references
- mpu9250 mag fix mag errors perf count
- delete obsolete whoami checks
2020-01-04 12:38:22 -05:00
Daniel Agar
5dfc8f1362
mpu9250: main handle init and alloc failures separately
2020-01-04 11:41:56 -05:00
Daniel Agar
25cbcca84a
mpu9250: fix error return on reset fail
2020-01-04 11:41:56 -05:00
Daniel Agar
45937fb70a
srf02: move to PX4Rangefinder and cleanup
2020-01-04 11:23:17 -05:00
Jin Chengde
91e4da8885
fix compile error
2020-01-04 10:55:25 -05:00
Jin Chengde
57f3be3a69
fix bug if speed reach minium during ramp
2020-01-04 10:55:25 -05:00
PX4 BuildBot
a986a63504
Update submodule matrix to latest Sat Jan 4 12:39:31 UTC 2020
...
- matrix in PX4/Firmware (1cee4d3b0de55e2a7b874dfdaf7a9975a099195c): https://github.com/PX4/Matrix/commit/d18be0d0fa17d9a0b60ab34bad3e33160f907b09
- matrix current upstream: https://github.com/PX4/Matrix/commit/3b581fb5998c7a15b741947e6a139b9e3f99fe38
- Changes: https://github.com/PX4/Matrix/compare/d18be0d0fa17d9a0b60ab34bad3e33160f907b09...3b581fb5998c7a15b741947e6a139b9e3f99fe38
3b581fb 2020-01-01 Lorenz Meier - Update .travis.yml
efa5580 2020-01-01 Lorenz Meier - Update CMakeLists.txt
20a9e91 2019-12-31 Lorenz Meier - Fix CMake configuration for coverage tests on Mac OS
2020-01-04 10:43:35 -05:00
SalimTerryLi
5f5a2e12fb
mpu9250: improve AK8963 init (fixes raspberry pi support)
2020-01-03 22:29:46 -05:00
Daniel Agar
16bd1088fa
mpl3115a2: move to PX4Barometer and cleanup
2020-01-03 16:53:09 -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
156cf16265
logger: log all raw sensor data at a minimal rate
2020-01-02 13:15:02 -05:00
Daniel Agar
f7cf1ffc41
drivers/uavcan: remove MAVLINK header dependency
2019-12-31 21:01:21 -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
213c6a1923
deprecate df_ms5611_wrapper and df_ms5607_wrapper (replaced with in tree ms5611 driver)
2019-12-31 10:37:29 -05:00
Daniel Agar
e48b8b1abe
drivers/adc: start WQ cycle on init
2019-12-31 13:42:42 +01:00
Daniel Agar
ef12e63af2
ms5611: move to PX4Barometer and cleanup
2019-12-30 18:00:52 -05:00
SalimTerryLi
87e5da189b
ms5611: fix start_bus() logic to work on linux and add RPi I2C bus config ( #13814 )
2019-12-30 16:16:56 -05:00
Daniel Agar
c8fb3c589a
posix I2C::init() should also probe() (sync with NuttX)
2019-12-30 10:37:07 -05:00
Daniel Agar
cc7a0cd69d
beaglebone blue: build librobotcontrol with cmake
2019-12-29 17:32:06 -05:00
PX4 BuildBot
b3889e6187
Update submodule matrix to latest Sun Dec 29 00:38:26 UTC 2019
...
- matrix in PX4/Firmware (82244037f4f4be591cf1c8b9a25bb4969d0d33a9): https://github.com/PX4/Matrix/commit/e81483a808ce7b0217c11d3dc0fce90685f44353
- matrix current upstream: https://github.com/PX4/Matrix/commit/d18be0d0fa17d9a0b60ab34bad3e33160f907b09
- Changes: https://github.com/PX4/Matrix/compare/e81483a808ce7b0217c11d3dc0fce90685f44353...d18be0d0fa17d9a0b60ab34bad3e33160f907b09
d18be0d 2019-12-28 kritz - Fix AngleAxis constructors (#117 )
2019-12-28 20:25:33 -05:00
modaltb
9b707eebc7
bmp388: use default stack size of 2048, fixes stack check failure
2019-12-28 19:21:05 -05:00
Mathieu Bresciani
226169192a
ekf2check: add COM_ARM_MAG_STR to en/disable mag field strength preflight check
2019-12-28 14:06:14 -05:00
Silvan Fuhrer
7bb952baed
update airspeed usage to airspeed_validated ( #13710 )
...
* Mavlink: subscribe to airspeed_validated instead of airspeed topic
This e.g. changes the way QGC displays the airspeed in case of an
airspeed failure (0 instead of the last valid airspeed). It will
always display the airspeed that's used currently in the control
modules.
* FW land detector: move to subscribe to airspeed_validated instead of airspeed topic
- the land detector checks further if the airspeed is NAN, in which case
it sets the airspeed to 0 (min groundspeed, vz and accel checks still
have to pass.
* Fixed-wing land detector use airspeed_vaidated: addressed review comments
- replaced ternary by conditional
- set airspeed to 0 if airspeed_validated stops publishing
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2019-12-28 12:32:41 -05:00
Timothy Scott
fc1341208f
INA226: Integrate with PX4 ( #12673 )
...
* Publish I2C battery data as battery_status
2019-12-28 12:30:11 -05:00
Silvan Fuhrer
574b482fdb
Navigator: make weather vane work in all auto modes, not just mission ( #13761 )
...
- rename of flag in position sp: from allow_weather_vane to disable_weather_vane
- flag now doesn't have to be set for all auto modes, meaning that weather vane is also active outside of mission
- flag is set before front transition to align with wp, and unset after alignment is over
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2019-12-28 12:13:15 -05:00
Daniel Agar
89e1f478ac
PX4Accelerometer and PX4Gyroscope add vibration metrics and always publish status
2019-12-27 20:54:50 -05:00
Daniel Agar
e189733bb9
l3gd20: split into separate header, implementation, and main
2019-12-27 17:29:04 -05:00
Matthias Grob
ffff35a597
Unit tests: use EXPECT_FLOAT_EQ for float comparisons
...
as precaution to prevent failing tests because of small potential
rounding errors on certain platforms or compilares.
2019-12-26 12:53:07 +01:00
Matthias Grob
ee62d0296f
ControlMathTest: consistent short float literal notation
2019-12-26 12:53:07 +01:00
Matthias Grob
ad148fdfad
ControlMathTest: switch back to direct EXPECT_EQ calls for Vectors
...
Since the google test calls matrix::operator==()
which calls matrix::isEqual().
2019-12-26 12:53:07 +01:00
Lorenz Meier
1834c156d2
Simulator: Remove EKF2 based wait
...
This is cleaner and needs testing.
2019-12-26 10:16:58 +01:00
Julian Oes
3a228622b9
mavsdk_tests: fix verbose output
2019-12-26 10:16:58 +01:00
Julian Oes
8817f172ea
simulator: cleanup and wait for startup
...
Unfortunately this commit contains two things:
1. Some cleanup and renaiming.
2. An additional wait until lockstep has been initialized.
By waiting until HIL_SENSOR messages arrive including timestamps we
stop the startup script and prevent other modules from running until
time is set up. This should resolve some busy waiting by various
modules and prevent races on initialization (e.g. the landing state
being subscribed by mavlink before being published by the land
detector).
2019-12-26 10:16:58 +01:00
bresch
dab17d628d
PreFlightChecker: update unit tests
2019-12-24 13:18:47 -05:00
bresch
8080615191
PreFlightChecker: add spike limit argument for innovation check and
...
increase optical flow test limits.
2019-12-24 13:18:47 -05:00
PX4 BuildBot
b6b8a9a76e
Update submodule matrix to latest Tue Dec 24 12:39:27 UTC 2019
...
- matrix in PX4/Firmware (0aa62a3bfff12d854d6a8e378a518bd8646a9f4b): https://github.com/PX4/Matrix/commit/4f3565da94d00c4cd1feb560f1f72a81296522f8
- matrix current upstream: https://github.com/PX4/Matrix/commit/e81483a808ce7b0217c11d3dc0fce90685f44353
- Changes: https://github.com/PX4/Matrix/compare/4f3565da94d00c4cd1feb560f1f72a81296522f8...e81483a808ce7b0217c11d3dc0fce90685f44353
e81483a 2019-12-18 kritz - Catch quaternion canonical corner cases (#116 )
2019-12-24 13:15:42 -05:00
RomanBapst
4c35b3aadc
navigator: do not use fixed wing acceptance readius if in rotary wing mode
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2019-12-24 12:52:10 -05:00
Daniel Agar
0e70578052
commander: move most static variables and parameters to class
2019-12-23 23:38:10 -05:00
Daniel Agar
386673e6c3
fix flt_cutoff_min -> flt_cutoff_max
2019-12-23 23:47:34 +01:00
Daniel Agar
93d392ff80
Update src/modules/rc_update/rc_update.cpp
...
Co-Authored-By: Beat Küng <beat-kueng@gmx.net >
2019-12-23 23:47:34 +01:00
Daniel Agar
607cb97758
Update src/modules/rc_update/rc_update.cpp
...
Co-Authored-By: Beat Küng <beat-kueng@gmx.net >
2019-12-23 23:47:34 +01:00