bresch
34d8bd7988
update EKF2 change indicator
2022-09-10 12:29:29 -04:00
bresch
6bd81c0eb7
ekf2: do not store delayed baro sample in class
...
the sample is popped from the buffer and directly used; there is no
need to keep a local copy of it
2022-09-10 12:29:29 -04:00
bresch
ae1e12a6b5
ekf2: remove baro accumulation from initializeFilter
2022-09-10 12:29:29 -04:00
bresch
fe4a6ce8de
ekf2: allow initialization without baro data when fusion is disabled
2022-09-10 12:29:29 -04:00
bresch
a54fa7b9b1
ekf2: add fake height fusion logic
...
When there is no vertical aiding, fake height is started to constrain
the vertical channel of the EKF
2022-09-10 12:29:29 -04:00
bresch
aa716936bf
ekf2: move synthetic_position flag to control_status.flags.fake_pos
2022-09-10 12:29:29 -04:00
Julian Oes
86f7e15f7a
libuavcan: update submodule
...
This fixes a Python 3.10 issue for me.
2022-09-09 20:41:11 -04:00
Daniel Agar
8f25acd428
sih remove gps and use standalone sensor_gps_sim
2022-09-09 18:00:50 -04:00
Daniel Agar
bfe0d71a21
sih remove baro and use standalone sensor_baro_sim
2022-09-09 18:00:50 -04:00
Daniel Agar
c5336abba2
sih remove mag and use standalone sensor_mag_sim
2022-09-09 18:00:50 -04:00
Daniel Agar
99a20646e2
simulator sih add local position ground truth and cleanup
2022-09-09 18:00:50 -04:00
Daniel Agar
355f184f06
boards/px4/fmu-v3: allow optional ms5607 startup to fail quietly (no error)
2022-09-09 17:32:18 -04:00
Alvin Sun
238fdadfee
Add attitude and bodyrate control to RTPS
2022-09-09 22:21:02 +02:00
Daniel Agar
3f3a5f19f0
parameters: open export files O_TRUNC to discard previous data
...
- rcS parameter backup try to directly restore param (FRAM) from backup (in case SD card is removed before successful export)
- rcS parameter backup logging rearrange to capture more logging output (param_import_fail.txt)
- posix rcS try to keep param backup and restore roughly in sync with NuttX rcS
- tinybson fix debug printf format
- param_export_internal ensure file descriptor positioned at 0 (precaution)
2022-09-09 16:20:16 -04:00
Igor Mišić
296b1704c5
invensense/icm42688p: add additional state FIFO_RESET
...
This state is added to give extra time between FIFO flush command. Some icm42688p IMUs need more time between config -> FIFO reset -> FIFO read. More about the issue #20181
2022-09-09 16:19:10 -04:00
Alex Klimaj
efcf4c95fd
drivers/uavcannode: Add RTCMStream subscriber and fix RTCMStream Publisher ( #20056 )
...
* Add cannode RTCMStream subscriber
* Fix uavcan RTCMStream publisher
* Break out CANNODE_SUB_RTCM and CANNODE_SUB_MBD
2022-09-09 15:16:09 -04:00
Daniel Agar
9d1aeb6aa7
platforms/posix: cleanup macos legacy
2022-09-09 13:05:06 -04:00
matthewoots
b09329f287
boards/matek/h743: add fix to resolve no startup of imu for matek_h743 target ( #20184 )
...
* Add fix for matek_h743 target that resolves no startup of imu for h743-wing v3 and h743-wlite boards
* Added imu driver according to spi bus (https://www.mateksys.com/?portfolio=h743-wing-v2#tab-id-7 )
2022-09-09 13:02:38 -04:00
Agata Barcis
e268e69265
Fixed fastrtps version reading in microRTPS generation for ROS2 built from sources
2022-09-09 15:11:11 +01:00
Daniel Agar
b45daac0e8
commander: fix angular velocity validity
...
- vehicle_angular_velocity timestamp can be newer than saved now
2022-09-09 09:14:09 -04:00
Daniel Agar
15fece7e14
delete SYS_CTRL_ALLOC
2022-09-09 09:14:09 -04:00
Daniel Agar
13f9eabd70
delete unused actuator_controls_3
2022-09-09 09:14:09 -04:00
Daniel Agar
55be169e18
delete remaining PWM_MAIN/PWM_AUX/PWM_EXTRA parameters
2022-09-09 09:14:09 -04:00
Daniel Agar
4ec9e2f216
uavcan: delete unused ESC idle and soft_stop
2022-09-09 09:14:09 -04:00
Daniel Agar
bdec17a9d4
drivers/pwm_out_sim: add perf counters (sync with drivers/pwm_out)
2022-09-09 09:14:09 -04:00
Daniel Agar
baa05b2631
drivers/pwm_out: remove custom module boilerplate (dual output bank handling)
2022-09-09 09:14:09 -04:00
Daniel Agar
ce337a3d80
delete unused PWM IOCTLs
2022-09-09 09:14:09 -04:00
Daniel Agar
bcdd2203d3
delete systemcmds/motor_test and msg/test_motor.msg
2022-09-09 09:14:09 -04:00
Daniel Agar
72efe84b80
delete MOT_ORDERING
2022-09-09 09:14:09 -04:00
Daniel Agar
a7bbcd5b04
delete lib/mixer and mixer_module static mixing
2022-09-09 09:14:09 -04:00
Daniel Agar
0019ffbea6
delete drv_mixer.h
2022-09-09 09:14:09 -04:00
Daniel Agar
d3312f955f
delete systemcmds/pwm
2022-09-09 09:14:09 -04:00
Daniel Agar
5dd1e5a018
delete systemcmds/mixer
2022-09-09 09:14:09 -04:00
Daniel Agar
cac9c51ac8
ROMFS: purge old mixing system
...
- SYS_USE_IO is now off by default (enabled by default per board)
2022-09-09 09:14:09 -04:00
Julian Oes
ed10146e9f
fmu-v6: disable Rev 0, Rev 1 for HB Mini, and CM4
...
As I understand it, only Rev 3 and Rev 4 were shipped by HB for Mini and
CM4, and are likely to be used for it.
It would be nice to have all combinations but it requires quite some
flash in the current implementation.
2022-09-08 20:54:19 -04:00
Julian Oes
f05fccebb7
fmu-v5x: disable rev0 for HB Mini and CM4 base
...
As I understand it, only Rev 1 and Rev 2 were shipped by HB, and likely
to be used for the Mini and CM4.
2022-09-08 20:54:19 -04:00
Julian Oes
6bd020e848
platforms: decrease flash usage by type for bus id
...
My assumption is that the bus are numbered < 127.
This saves about 100 bytes of flash.
2022-09-08 20:54:19 -04:00
vincentpoont2
4fe90322db
update fmu-v6x rc.board_sensors, add V6X004003
2022-09-08 20:54:19 -04:00
vincentpoont2
167c3da99d
update fmuv5x rc.board_sensors with V5X004000
2022-09-08 20:54:19 -04:00
Vincent Poon
70321ed610
update v5x rc.board_sensors
...
add V5X004002
2022-09-08 20:54:19 -04:00
Vincentpoont2
f476ebdcbf
Correct BOARD_NUM_SPI_CFG_HW_VERSIONS at board_config.h
2022-09-08 20:54:19 -04:00
Vincentpoont2
9d5adf8bab
Fix Error on manifest.c
2022-09-08 20:54:19 -04:00
Vincentpoont2
e91295e5db
Fix Error on board_config.h Define on FMUv5X & FMUv6X
2022-09-08 20:54:19 -04:00
Vincentpoont2
b16a53018d
Add Holybro Pixhawk Pi CM4 Baseboard Support
2022-09-08 20:54:19 -04:00
Don Gagne
0987bb2e8e
Fix bug with yaw only reposition
...
Fix formatting
2022-09-08 17:55:30 -04:00
Matthias Grob
da01dd9eeb
mission_block: explicitly (re)set the acceptance radius to default for takeoff items
...
otherwise a previously adjusted or uninitialized radius from the last flight
can cause problems during the new takeoff
2022-09-08 14:49:32 +02:00
Matthias Grob
b825b61a20
mission_block: minimal acceptance radius of 1mm
...
to avoid float rounding errors leading to tiny acceptance radii
getting considered
2022-09-08 14:49:32 +02:00
Ville Juven
9c204774f1
px4_userspace_init: Fix NULL dereference for px4_spi_buses in user space
...
For targets that define the SPI buses via px4_spi_buses_all_hw, a call
to px4_set_spi_buses_from_hw_version() is needed. Otherwise a NULL
de-reference will occur when trying to access px4_spi_buses.
Fixes a system crash in px4_fmu-v5_protected:
up_assert: Assertion failed at file:armv7-m/arm_memfault.c line: 101 task: wq:lp_default
2022-09-08 07:05:11 +02:00
Justin
88bf1030b5
Update CI to use the main branches.
2022-09-07 20:03:19 -04:00
Ville Juven
d4cce452cf
modules/dataman: Increase stack size by 100B
...
Fixes:
WARN [load_mon] dataman low on stack! (276 bytes left)
Seen on px4_fmu-v5_protected target.
2022-09-07 20:02:26 -04:00