Daniel Agar
e2ad1bbc91
bmi055: accel periodically read temperature
2020-07-09 18:03:29 -04:00
JaeyoungLim
fa0ca7e65c
Update mavlink with cellular status message fixes
...
This Commit includes a update of the mavlink submodule
since the CELLULAR_STATUS message was updated, the necessary changes were done together
Add enums
2020-07-09 15:12:02 -04:00
Matthias Grob
480cd5ed4e
mavsdk_tests: load all os environment variables for gazebo client
...
such that OpenGL options are also used for mavsdk_tests when the GUI
is enabled.
2020-07-09 16:43:34 +02:00
Silvan Fuhrer
57cbf212be
PreFlightchecks: remove duplicated VTOL mode prearm check
...
This removes the check for the current position of the VTOL swtich, as arming is already prevented if in transition mode,
plus also if VTOL and in fixed-wing mode (unless CBRK_VTOL_ARMING is set).
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2020-07-09 10:41:43 -04:00
Roman Dvořák
f70b3046e9
mavlink: publish RAW_RPM
2020-07-09 10:35:16 -04:00
Thomas Stauber
6d1ce57362
Add Land as Geofence Action
2020-07-09 10:32:10 -04:00
Daniel Agar
f3d923f226
sensors: VehicleIMU improve scheduling
...
- schedule on interval multiple of sensor_gyro publications without increasing the configured integration rate
- IMU_INTEG_RATE add enums to guide appropriate selection
- add average calculation bounds to prevent incorrect calculation and force monitoring again if there are consecutive gaps in data
2020-07-09 10:29:04 -04:00
Daniel Agar
fa8ba09f50
drivers/imu/bosch/bmi055: remove interrupt latch
...
- the latch would actually cause more problems if the backup schedule hit
- this reduces the number of cycles where the FIFO is actually empty at max rate (when there's only 1 sample in the FIFO expected)
2020-07-09 10:15:33 -04:00
Daniel Agar
194029d010
drivers/imu: Invensense & Bosch remove transfer perf counters
...
- we already have nearly equivalent data in every sensor publication with the (publication) timestamp and timestamp_sample
2020-07-09 10:12:37 -04:00
Daniel Agar
6bc1af7680
sensors/vehicle_air_data: only publish primary if error free
...
- cleanup failover related messaging
- store previous failover count to prevent unecessary checks
- check for parameter update initially to minimize work after fetching
fresh sensor data
2020-07-09 10:11:23 -04:00
Daniel Agar
6d52772d30
sensors/vehicle_air_data: move to sensors namespace
...
- move params to end of class
2020-07-09 10:11:23 -04:00
Beat Küng
405cb5038d
sdp3x: introduce State enum
...
to avoid blocking the work queue during configuring.
2020-07-08 11:43:21 -04:00
Beat Küng
fc1be6e0b1
sdp3x: add '-k' option to keep retrying even if probing fails
...
we have a setup where the sensor is connected via magnets, so the system
could boot without sensor initially attached.
2020-07-08 11:43:21 -04:00
Beat Küng
3cc394e6c7
sdp3x: improve robustness, try to reconfigure on transfer error
2020-07-08 11:43:21 -04:00
Daniel Agar
38fa913fed
Jenkins: holybro durandal-v1 switch to generic multicopter with dshot
2020-07-07 18:59:04 -04:00
Daniel Agar
8763d71bf0
Jenkins: set IMU_GYRO_RATEMAX to 4kHz on holybro_durandal-v1_default
2020-07-07 01:29:48 -04:00
Daniel Agar
2af72c05b5
Jenkins: set IMU_GYRO_RATEMAX to 2kHz on px4_fmu-v5_default
2020-07-06 22:17:17 -04:00
Daniel Agar
96a6b5c914
load_mon: decrease warning threshold for stack check builds
...
- enabling stack check increases stack usage and will assert if there's
any overflow
v1.11.0-rc1
2020-07-06 11:13:15 -04:00
Daniel Agar
0f0706be91
platforms/nuttx: init.cmake skip config lines with empty values
2020-07-06 11:13:15 -04:00
Daniel Agar
b277840233
boards: create px4_fmu-v5_debug build with assertions enabled
2020-07-06 11:13:15 -04:00
Beat Küng
2bcc2f4ccc
mag params: add missing mag rotations according to rotation.h
2020-07-06 10:16:17 -04:00
Beat Küng
795b9e938e
drivers: add ST LPS33HW baro driver
...
Note: only tested on I2C
2020-07-06 10:13:11 -04:00
Julian Oes
aea94ff57b
jMAVSim: try new libs with newer Java versions
...
This is an attempt to get jMAVSim to run with Java9+.
2020-07-06 13:07:11 +01:00
Beat Küng
03e51076b0
v5x: fix icm20602 sensor orientation
...
and reorder baro startup, so that the other one is used by default.
2020-07-06 11:02:48 +02:00
Matthias Grob
03735f12a2
FlightTask: correct activate() doxygen comment
2020-07-04 12:29:10 +02:00
Thomas Stauber
3702c8b481
[VTOL] impose minimum transition duration
...
* VT_F_TR_OL_TM would silently reduce VT_TRANS_MIN_TM when VT_F_TR_OL_TM was smaller
2020-07-03 13:19:02 -04:00
Stone White
400c44b5ef
Raname DJI Airframe name to Provent Large PWM_MIN for normal ESCs
2020-07-03 09:08:22 +02:00
Daniel Agar
d3157f4266
sensors/vehicle_acceleration: apply calibration before filtering
2020-07-02 12:35:17 -04:00
kamilritz
46a5e6e428
Replace divisions with multiplications
2020-07-02 15:55:24 +02:00
kamilritz
3e3a66e9e9
Remove unnecessary operations
2020-07-02 15:55:24 +02:00
kamilritz
079a699556
Random cleanup
2020-07-02 15:55:24 +02:00
kamilritz
d18ddb3e92
Use ternary operator
2020-07-02 15:55:24 +02:00
kamilritz
122f58b94d
Bug: stop overwriting fault status of index 0 with index 1
2020-07-02 15:55:24 +02:00
kamilritz
9e211d6ca1
Stop overwriting fault status with false if one component is true
2020-07-02 15:55:24 +02:00
kamilritz
e5ddd912a4
Remove not needed else case
2020-07-02 15:55:24 +02:00
kamilritz
430497e2f7
Shift variable definition inside calculateOutputStates
2020-07-02 15:55:24 +02:00
kamilritz
f59343b343
Remove misplaced comment
2020-07-02 15:55:24 +02:00
kamilritz
673b309c45
Fix bug: pos gain used instead of vel gain
2020-07-02 15:55:24 +02:00
kamilritz
2af2696b63
Revert if-else condition to get rid of unnecessary indentation
2020-07-02 15:55:24 +02:00
kamilritz
fce4958d4f
Random cleanup
2020-07-02 15:55:24 +02:00
JaeyoungLim
692cb717b7
Add windy world target ( #14737 )
2020-07-02 15:49:09 +02:00
kritz
9eea44f4ab
Return type of resets ( #859 )
...
* Reset position/velocity return type is void
* Delete not needed comments
2020-07-02 14:53:59 +02:00
bresch
97e54df123
Gps control: add missing consts and reduce variable scope
2020-07-02 13:35:13 +02:00
bresch
b0f79caf34
GPS yaw: Extract and refactor GPS yaw control logic
...
- Rename GPS yaw fusion functions:
resetGpsAntYaw -> resetYawToGps
fuseGpsAntYaw -> fuseGpsYaw
- Move last fusion time in reset function
2020-07-02 13:35:13 +02:00
bresch
7f4fedde6a
GPS Yaw: fix heading initialisation and add unit tests
...
When the antennas are not parallel to the x body axis, the GPS message
contains the angular offset but the data is already corrected in the
driver. EKF2 should then not add this offset during the initialisation.
2020-07-02 13:35:13 +02:00
kamilritz
97225fcb74
Use matrix lib inside getState
2020-07-02 09:02:24 +02:00
kamilritz
16a00eae0b
Make Kfusion a Vector24f
2020-07-02 09:02:24 +02:00
kamilritz
356b2f6ffe
Stop setting zero to zero
2020-07-02 09:02:24 +02:00
kamilritz
552bf824ea
Add typedef for Matrix 24 types
2020-07-02 09:02:24 +02:00
Claudio Micheli
743898d574
Commander: failure detector, automatically disarm on a ESC failure
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2020-07-01 08:55:54 +02:00