37624 Commits

Author SHA1 Message Date
David Sidrane
500fe5c98c uavcannode_gps_demo:Add UAVCAN bootloader AppDescriptor 2021-02-24 19:20:15 +01:00
David Sidrane
dd3c3098f2 nxp_ucans32k146:Add Can Bootloader build
nxp_ucans32k146:Relocation for Bootloader

nxp_ucans32k146:can_boot enable CAN

nxp_ucans32k146:Save Space use Non Optimize memcpy

nxp_ucans32k146:Increase to 24K

nxp/ucans32k146:Canbootloader LED Driver

nxp_ucans32k146:Can bootloader shut down CAN

nxp_ucans32k146:Use NVMEEPROM for Paramaters

nxp_ucans32k146:Use bootloader AppDescriptor

px4 mtd:Support onchip emulated eeprom
2021-02-24 19:20:15 +01:00
David Sidrane
62c0c96749 canbootloader:Use Micro hal and arch selection
nxp/s32k14x:board_identity: Return length of mfguid

nxp/s32k14x:CAN driver

nxp/s32k14x:Drver Added ABORT on error

canbootloader:Use N words for first word

canbootloader:Ensure the up_progmem API always defined
2021-02-24 19:20:15 +01:00
David Sidrane
ea255234da nuttx:[BACKPORT] s32k1xx:Support ramfunc 2021-02-24 19:20:15 +01:00
Beat Küng
46b9acac6d mag_calibration: fix typo 2021-02-24 17:27:31 +01:00
Beat Küng
558fe18dfe sitl: add 'commander takeoff' to history 2021-02-24 17:27:31 +01:00
Beat Küng
836c7c6575 StickAccelerationXY: brake a bit faster
The drag is based on max_acc/max_vel, which means that increasing the
maximum velocity leads to slower braking (at the same starting speed).

Especially a combination of small max_acc (slow responsiveness) with high
max_vel led to an exceedingly high braking distance.
This improves that while still being smooth.
2021-02-24 17:27:31 +01:00
Beat Küng
1be4163506 mc_pos_control_params: increase velocity limits a bit
I hit those on my vehicle
2021-02-24 17:27:31 +01:00
Beat Küng
ad9688e63c mc: remove unused param definitions MPC_JERK_MIN and MPC_DEC_HOR_SLOW 2021-02-24 17:27:31 +01:00
Matthias Grob
a637f282ce FunctionsTest: cover lerp 2021-02-24 17:27:31 +01:00
Beat Küng
14bf9cf753 mc: add SYS_VEHICLE_RESP param to configure vehicle responsiveness 2021-02-24 17:27:31 +01:00
Beat Küng
2a0a82fd90 param: add commit_no_notification(T val) API 2021-02-24 17:27:31 +01:00
David Sidrane
3ef93823f4 srgbled:Fix warning 2021-02-24 08:05:39 -08:00
Daniel Agar
5f3e883f2c
sensors/vehicle_imu: vehicle_imu_status include accel/gyro full raw FIFO sample rate 2021-02-24 08:13:53 -05:00
Ryan Johnston
cec31fd685 Remove mkblctrl from default.cmake
Mkblctrl needs to be removed for the build to now succeed.
2021-02-24 08:54:22 +01:00
Ryan Johnston
45dde177ee Remove mkblctrl from default.cmake
Mkblctrl needs to be removed for the build to succeed.
2021-02-24 08:53:35 +01:00
David Sidrane
dd736f8540 holybro_can-gps-v1:Ensure yeild is used for FLASH programing 2021-02-23 17:45:25 -05:00
David Sidrane
84b3f51c6b ark_can-flow:Ensure yeild is used for FLASH programing 2021-02-23 17:45:25 -05:00
David Sidrane
d8b9def3f8 cuav_an-gps-v1:Ensure yeild is used for FLASH programing 2021-02-23 17:45:25 -05:00
Daniel Agar
6c3262c54b cmake cleanup src/drivers/imu 2021-02-23 15:58:36 -05:00
Daniel Agar
11ad41f7cb delete old imu/mpu6000 driver 2021-02-23 15:58:36 -05:00
Daniel Agar
4364e23633 delete unused imu/bmi160 2021-02-23 15:58:36 -05:00
Daniel Agar
f9705c96f7 delete unused imu/bma180 2021-02-23 15:58:36 -05:00
Daniel Agar
e38560b928
sensor_calibration: increase threshold for updating calibration offsets or scale
- this is to minimize needlessly writing negligible parameter changes and triggering unnecessary estimator bias resets
2021-02-23 13:32:00 -05:00
Nicolas MARTIN
d65d06f82d SIH/gps: express gps position noise in meters and reduce noise value
Previous horizontal position noise was a white Gaussian noise with std=0.8m
It results in a noise with high frequencies too high making some ekf
position tests fail (test ratio to allow arming).

The new noise values are below real GPS errors but as theses errors are
generally low frequency, so they cannot be modeled with a white noise.
2021-02-23 13:27:28 -05:00
Daniel Agar
6cf06319d2 boards: nxp_fmurt1062-v1 remove irlock and lights/blinkm to save flash 2021-02-23 13:23:36 -05:00
Nicolas MARTIN
80a73ab5b5 SIH: add distance sensor fault simulation 2021-02-23 12:57:40 -05:00
Nicolas MARTIN
ab41319009 SIH: add distance sensor 2021-02-23 12:57:40 -05:00
Daniel Agar
69bd3ecf95 sensor_calibration: respect board rotation even if uncalibrated
- fixes https://github.com/PX4/PX4-Autopilot/issues/16873
2021-02-23 15:24:14 +01:00
Daniel Agar
e2563388eb Jenkins compile removed deleted variant 2021-02-22 20:33:03 -05:00
Daniel Agar
cd7713eba2 boards: delete unused variants 2021-02-22 20:08:36 -05:00
Daniel Agar
4a65ad9148 github actions decrease max ccache size
- lower compression level to 5 as recommended by ccache manual
2021-02-22 18:59:35 -05:00
brad112358
d53fcb0bab
mavlink: use RADIO_STATUS to regulate parameter sending 2021-02-22 18:57:29 -05:00
Daniel Agar
bcae99e34a boards: CUAV Nora don't start icm20649 on SPI6 by default
- waiting on NuttX SPI6 BDMA to be fixed
2021-02-22 12:11:16 -05:00
Daniel Agar
7cc4aa6fe2 vtol_att_control: fix code style 2021-02-22 12:09:39 -05:00
Nicolas MARTIN
50ec809fdf SIH: add mag offset from parameters
An absolute value superior to 10000 block mag publication
2021-02-22 11:56:16 -05:00
Nicolas MARTIN
8f54dc402d SIH: add baro offset (or pressure change) from parameters
An absolute value superior to 10000 block barometer publication
2021-02-22 11:56:16 -05:00
Nicolas MARTIN
1df63cb6b1 SIH: add gps fix loss simulation from parameters
A new parameter allows to change the SIH number of gps satellites used
If it is below 4, fix is lost
2021-02-22 11:56:16 -05:00
Daniel Agar
098d5ce5c0
EKF allow range aid without horizontal aiding
- skip range aid velocity check when horizontal aiding isn't active
2021-02-22 11:55:56 -05:00
Sander Smeets
a8a9832b59 Allow new modes for forward thrust 2021-02-22 11:18:49 -05:00
Lorenz Meier
1b8a3079e6 Update commander_params.c
Better documentation boolean settings, removed duplicate boolean.
2021-02-22 11:17:16 -05:00
Lorenz Meier
90f5d7338c Commander: Relax pre-arm check for EKF
The previous testing ratios could lead to extremely tight pre-arm acceptance.
2021-02-22 11:17:16 -05:00
Lorenz Meier
f12d368a64 Commander: Document arming check params 2021-02-22 11:17:16 -05:00
Lorenz Meier
87f98f096f Commander: Respect position circuit breaker
This ensures that commander respects the position check circuit breaker and allows arming without position.
2021-02-22 11:17:16 -05:00
Daniel Agar
382e0cbaec
px4_work_queue: increase wq:nav_and_controllers stack 1760->1824 2021-02-22 11:15:01 -05:00
David Jablonski
ed7a5314d8 rtl: head towards home location after descend 2021-02-22 16:37:08 +01:00
David Jablonski
aeccb621c5 rtl: added loiter radius for descending 2021-02-22 16:37:08 +01:00
Nicolas MARTIN
29943a2c09
EKF test ratio status return current height source test ratio 2021-02-22 09:22:45 -05:00
Daniel Agar
30e8a14be3 logger: update SDLOG_PROFILE comment to reflect current default
- closes https://github.com/PX4/PX4-Autopilot/issues/16904
2021-02-22 08:45:10 +01:00
Ryan Johnston
410ca51a4a
boards: MRO Control Zero F7 OEM minor update
- Updating Serial port mapping to be the same across all Control Zero boards
 - CAN2 Silent Pin Update
2021-02-21 21:08:38 -05:00