Julian Oes
fc9df31653
platforms: link libatomic only on emlid navio2 (raspberry pi)
...
Linking to libatomic is only required for targets such as Raspberry Pi but not on for normal x86/x86_64 Linux builds.
2020-01-06 20:15:39 -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
Kabir Mohammed
5d110101b5
adis16497: add sensor model autodetection ( #13863 )
...
The sensor comes in three variants with different gyro measurement ranges. This patch allows auto-detection of the model at startup and sets the scale factor associated with the particular model.
2020-01-06 18:17:41 -05:00
Daniel Agar
7166b867e1
NuttX stackcheck exclude PX4 Matrix and Param
...
- instrumenting PX4 Matrix and Param methods is too burdensome
- partially restore px4_fmu-v5_stackcheck and holybro_durandal-v1_stackcheck to match default configs
2020-01-06 18:15:55 -05:00
Mathieu Bresciani
5adf23a6a8
Add gyroscope notch filter - IMU_GYRO_NF_(FREQ|BW)
...
* NotchFilter: add NotchFilter template and test for float type
* NotchFilterTest: add test for Vector3f notch filter
* PX4Gyroscope: add notch filter with IMU_GYRO_NF_(FREQ|BW) parameters to
set the notch center frequency and bandwidth
2020-01-06 16:53:36 -05:00
Nicolas MARTIN
031680a520
commander: remove ekf2 preflight ratio param units
...
Innovation ratios have no unit: it is a ratio of to squared base unit.
For example:
[COM_ARM_EKF_VEL] = [vel_innov]**2 / ([GATE_SIZE]**2 * [VEL_VAR])
= [m/s]**2 / ([1]**2 * [m/s]**2)
= [1]
2020-01-06 11:30:43 -05:00
Julian Oes
9e239e47c4
mavsdk_tests: fix PEP8 issues
2020-01-06 11:15:43 -05:00
Daniel Agar
e29acea509
posix hrt add latency buckets
2020-01-06 16:26:56 +01:00
Julian Oes
25ff013418
vmount: fix float casting, simplify loop
2020-01-06 16:24:36 +01:00
Julian Oes
30cadf5903
vmount: properly initialize last_active
...
If last_active is initialized at 0 it means that input via mavlink is
already enabled but that's generally not the case.
2020-01-06 16:24:36 +01:00
Julian Oes
7a69b85850
vmount: fix input for test command
...
It is most convenient to use a yaw angle relative to body for testing.
Also, we set stabilize_axis to true for testing.
2020-01-06 16:24:36 +01:00
Julian Oes
4753e02364
vmount: fix implicit double promotion
2020-01-06 16:24:36 +01:00
Julian Oes
14133380e2
vmount: set all DO_MOUNT_CONFIGURE params
...
We previously did not set param2 to param7 of DO_MOUNT_CONFIGURE.
2020-01-06 16:24:36 +01:00
Julian Oes
5836edc586
vmount: first step to support absolute angles
...
The mavlink spec now supports absolute angles as well, see:
https://github.com/mavlink/mavlink/pull/944
2020-01-06 16:24:36 +01:00
Matthias Grob
1484dfed6a
FlightTasks: remove deprecated AutoLine mission task
2020-01-06 15:39:07 +01:00
Julian Kent
bb410ca0db
Fix compile error, save some bytes by removing redundant checks
2020-01-06 15:39:07 +01:00
Julian Kent
af961f2391
Avoidance interface should be a stop point
2020-01-06 15:39:07 +01:00
Julian Kent
33702be3e4
Fix bad assumption: _position_setpoint is normally at _target
2020-01-06 15:39:07 +01:00
Julian Kent
603a993380
Improve comments
2020-01-06 15:39:07 +01:00
Julian Kent
75d7a049c1
Use the new trajectory constraints to synchronize and limit velocities
2020-01-06 15:39:07 +01:00
Julian Kent
025c044530
Add trajectory constraints helpers
2020-01-06 15:39:07 +01:00
Daniel Agar
89693258a9
landing_target_estimator: initialize all fields
...
- fixes Coverity CID 253911
2020-01-05 22:59:49 -05:00
Daniel Agar
738b57c945
pxh: initialize all fields
...
- fixes Coverity CID 309151
2020-01-05 22:59:49 -05:00
Daniel Agar
4b96eb569d
flight_tasks: getPositionSetpoint() initialize entire vehicle_local_position_setpoint_s
...
- this isn't strictly necessary (all used fields are set), but doesn't hurt
- fixes Coverity CID 268659
2020-01-05 22:59:49 -05:00
Daniel Agar
0f3bb94ff7
uORB_test: initialize timings storage
...
- fixes Coverity CID 341740
2020-01-05 22:59:49 -05:00
Daniel Agar
aabc89b2d0
vscode: commit auto added c++ header associations
2020-01-05 22:43:14 -05:00
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
7241eebd80
cmake merge linux cross compile targets (cross + native) and cleanup
...
- consolidate cross and native variants (only a single default is needed)
- beaglebone_blue_cross + beaglebone_blue_native => beaglebone_blue_default
- emlid_navio2_cross + emlid_navio2_native => emlid_navio2_default
- px4_raspberrypi_cross + px4_raspberrypi_native => px4_raspberrypi_default
- move upload helpers to cmake/upload.cmake
2020-01-05 14:03:57 -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
a96dc9c0c8
navio2 adc fix strncpy size
2020-01-04 22:03:43 -05:00
Daniel Agar
b292b04ac1
platforms posix link atomic
2020-01-04 22:03:43 -05:00
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
Lorenz Meier
093a982f49
Reduce speed factor in SITL CI tests
...
- With profiling enabled it is over-comitting the system.
2020-01-04 12:17:12 -05:00
Lorenz Meier
b0cb29ed82
MAVSDK tests: Add minimal plane example
...
This will add coverage for baseline plane controllers.
2020-01-04 12:17:12 -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): d18be0d0fa
- matrix current upstream: 3b581fb599
- Changes: d18be0d0fa...3b581fb599
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