David Sidrane
e1f86f510b
px4_fmu-v5X:Added Holybro mini base board
2022-07-01 15:32:44 -04:00
David Sidrane
17ef175402
px4_fmu-v6x:Add Rev 4 Sensors
2022-07-01 15:32:09 -04:00
Alex Klimaj
f9980e0721
uavcannode: Fix dronecan baro units
2022-06-17 14:44:32 -04:00
Daniel Agar
6823cbc414
sensors/vehicle_angular_velocity: add IMU_GYRO_RATEMAX constraints
v1.13.0
2022-06-07 16:23:01 -04:00
Daniel Agar
beaebe4d0b
sensors/vehicle_imu: don't bother checking IMU_GYRO_RATEMAX
2022-06-07 16:22:54 -04:00
Daniel Agar
0bddca6b9b
boards: NuttX update all boards to preallocated sem holder list
...
- CONFIG_SEM_PREALLOCHOLDERS=32
- CONFIG_SEM_NNESTPRIO=16 (default)
v1.13.0-rc1
2022-05-29 13:49:01 -04:00
Daniel Agar
c50c1e3982
update NuttX and apps to latest with sem holder fixes and updated ostest
2022-05-29 13:48:15 -04:00
Daniel Agar
a249b77647
boards: reduce SPI DMA buffers on older STM32F4 boards
...
- on common IMUs like the mpu6000, mpu9250, icm20602, etc each FIFO
sample is only 12 bytes so this is still more than large enough for the
worst case transfer
2022-05-27 16:28:26 -04:00
Daniel Agar
17de164e95
boards: pixhawk 2 cube skip starting low quality l3gd20 gyro to save memory and cpu
...
- free memory is getting tight on these older boards (depending on
configuratoin) and the pixhawk 2 cube still has 2 other superior IMUs, so this is just
dropping dead weight
2022-05-27 16:28:22 -04:00
David Sidrane
a057b38c40
Update all H7 Bootloders
2022-05-27 14:52:00 -04:00
David Sidrane
39e53711d5
flash_cache:Flush complete cache line
2022-05-27 14:44:54 -04:00
David Sidrane
1294851bb6
boards: STM32H7 pad to 256 bit - 32 bytes ( #19724 )
2022-05-27 14:44:51 -04:00
David Sidrane
1c15a1a7f4
px4_fmu-v6c:Fix mag rotation
2022-05-27 14:43:47 -04:00
David Sidrane
21567ca187
boards: new px4_fmu-v6c board support ( #19544 )
2022-05-27 14:42:55 -04:00
bresch
8e789bcc7f
ekf2_post-processing: use estimator_status_flags instead of bitmasks
2022-05-24 10:30:52 -04:00
Julian Oes
d699d5f27e
sitl_gazebo: update submodule
...
This fixes the issue where HITL doesn't connect over USB.
2022-05-24 09:43:05 -04:00
Julian Oes
4ae97c505f
commander: lockdown is not termination
...
We use lockdown to prevent outputs like motors and servos from being
active in HITL simulation. This means that we can't treat the lockdown
flag as a flight_terminated, otherwise we can't arm in HITL at all.
2022-05-24 09:42:38 -04:00
Daniel Agar
b8ce2a6039
icm42688p: only check configured registers periodically (as intended)
2022-05-23 14:58:37 -04:00
bresch
1f399e5b33
ekf2: use explicit flags instead of bitmask position
...
This prevents bitmask mismatch when a new flag is inserted
2022-05-23 14:57:17 -04:00
Serhat Aksun
d67cddae7d
sensors/vehicle_magnetometer: fix multi_mode check
...
Signed-off-by: Serhat Aksun <serhat.aksun@maxwell-innovations.com >
2022-05-23 10:10:22 -04:00
Julian Oes
0290282b17
ROMFS: disable UAVCAN in HITL
...
Without this, uavcan creates MixingOutput classes which then create
empty actuator_outputs publications. This then prevents the motor
output in HITL to be forwarded to the simulator via mavlink.
2022-05-22 10:27:07 -04:00
Nicolas MARTIN
39d1c79f48
HITL: undefined time_remaining_s should be NAN
2022-05-20 09:40:28 -04:00
Nico van Duijn
ad410a2512
Commander: ignore MAV_CMD_REQUEST_MSG
...
This commit adds the MAV_CMD_REQUEST_MESSAGE to the list of vehicle
commands which are ignored without generating a warning sound.
2022-05-20 09:40:22 -04:00
Daniel Agar
453acdce31
.vscode/.gitignore ignore all log files
2022-05-20 09:40:07 -04:00
Beat Küng
afb2538da3
output drivers: init SmartLock after exit_and_cleanup
...
This fixes an invalid memory access when exiting the module:
exit_and_cleanup destroys the object, but lock_guard is destructed after
and accesses the lock.
v1.13.0-beta2
2022-05-12 08:17:15 -04:00
alexklimaj
af58c412c3
Fix uavcan battery causing immediate RTL time remaining low
2022-05-11 21:49:13 -04:00
Daniel Agar
d5226b28ce
drivers/rc_input: ensure RC inversion is disabled initially and latch RC_INPUT_PROTO conservatively
...
- this allows jumping straight to a non-SBUS RC protocol
- increased the scan time per protocol 300->500 ms, which the newer DSM parser seems to need in some cases.
- only set RC_INPUT_PROTO if we've had a successful RC lock for > 3 seconds
2022-05-11 14:31:51 -04:00
Beat Küng
b091ea9fd9
log_writer_file: fix corner case when mission log is enabled
...
Normally _should_run for mission is only ever true if _should_run for the
normal log is. There are exceptions though:
- the log buffer fails to allocate
- there was a write failure (e.g. due to SD card removal)
In that situation, the writer would not wait anymore but busy-loop.
2022-05-11 10:07:46 -04:00
Beat Küng
9e91ca8294
log_writer_file: protect access to _should_run, use px4::atomicbool for _exit_thread
2022-05-11 10:07:46 -04:00
Igor Mišić
8302f076e7
uavcan: use timer 6 by default on stm32f7
2022-05-10 12:43:26 -04:00
Thomas Stastny
de26ffa6e0
fw pos ctrl: turn back to takeoff point with npfg
2022-05-06 13:08:07 -04:00
Thomas Stastny
f60d38db65
fw pos ctrl: add missing guidance control interval setting to control_manual_position()
2022-05-06 13:08:07 -04:00
Thomas Stastny
5e3c8d2fa0
fw pos ctrl: fix state switching logic for takeoff and landing
2022-05-06 13:08:07 -04:00
Matthias Grob
90998837ec
Commander: ensure diconnected battery is cleared from bit field
2022-05-06 10:46:40 -04:00
Beat Küng
8cff9a1e04
commander: fix incorrect return in set_link_loss_nav_state()
...
If both local position and altitude were not valid, then both RC loss and
datalink loss would not trigger any failsafe at all, independently from
the configured action.
2022-05-06 10:15:30 -04:00
bresch
f8ff34f82d
ekf2: optimize KHP computation
...
Calculating K(HP) takes less operations than (KH)P because K and H are
vectors.
Without considering the sparsity optimization:
- KH (24*24 operations) is then a 24x24 matrix an it takes
24^3 operations to multiply it with P. Total: 14400 op
- HP (24*(24+24-1) operations) is a row vector
and it takes 24 operations to left-multiply it by K. Total:1152 op
2022-05-06 10:15:26 -04:00
Beat Küng
e69d9ec48f
dshot: avoid using pwm failsafe params when dynamic mixing is enabled
2022-05-02 11:43:51 +02:00
Beat Küng
f033e164fe
fix dshot: remove setAllFailsafeValues
...
Fixes a regression from c1e5e666f0 ,
where with static mixers the dshot outputs would go to max instead of 0
in a failsafe case.
2022-04-28 13:29:40 -04:00
Daniel Agar
41191765ad
drivers/rc_input: RC_INPUT_PROTO parameter minimal implementation ( #19539 )
...
Co-authored-by: chris1seto <chris12892@gmail.com >
Co-authored-by: chris1seto <chris12892@gmail.com >
2022-04-28 13:27:15 -04:00
Daniel Agar
fc7e979d84
boards: px4_fmu-v5_uavcanv0periph disable modules to save flash
v1.13.0-beta1
2022-04-26 08:39:19 -04:00
Daniel Agar
7ab9b0c6e2
boards: cubepilot_cubeorange_test disable examples/fake_gps to save flash
2022-04-26 08:39:19 -04:00
Daniel Agar
f390f52058
drivers/differential_pressure: remove lib/drivers/airspeed dependency and cleanup
...
- split ms4525_airspeed into separate ms4515 and ms4525 drivers
2022-04-26 08:39:19 -04:00
Daniel Agar
d1d15a6f6d
differential pressure remove filters from drivers and average in sensors/airspeed
2022-04-26 08:39:19 -04:00
Daniel Agar
258f558fea
apply differential pressure calibration (SENS_DPRES_OFF) centrally
...
- remove drv_airspeed.h and ioctls
2022-04-26 08:39:19 -04:00
JaeyoungLim
c6ab4c466e
Separate takeoff and landing to individual fixed wing states for FW pos control ( #19495 )
2022-04-26 10:24:36 +02:00
Daniel Agar
d6210d1725
boards: px4_fmu-v6x_default disable common barometers to save flash
2022-04-26 01:43:10 -04:00
Daniel Agar
3d7a6b4021
mc_pos_control: silence invalid setpoint warning when disarmed
2022-04-26 01:37:37 -04:00
Daniel Agar
b2bcd2631a
boards/diatone/mamba-f405-mk2: disable modules to save flash
2022-04-26 01:08:18 -04:00
Daniel Agar
c8d2d83e55
boards: px4_fmu-v2 restore systemcmds/ver needed for board init
2022-04-25 22:47:08 -04:00
Daniel Agar
7bb789cb23
boards: update bootloaders to latest
2022-04-25 22:39:25 -04:00