mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 22:07:35 +08:00
bd5a0cef1a
updated all scripts to use new ver hwcmp command q
21 lines
289 B
Io
21 lines
289 B
Io
#
|
|
# Init PX4IO interface
|
|
#
|
|
|
|
#
|
|
# Allow PX4IO to recover from midair restarts.
|
|
#
|
|
px4io recovery
|
|
|
|
#
|
|
# Adjust PX4IO update rate limit
|
|
#
|
|
set PX4IO_LIMIT 400
|
|
if ver hwcmp PX4FMU_V1
|
|
then
|
|
set PX4IO_LIMIT 200
|
|
fi
|
|
|
|
echo "[init] Set PX4IO update rate limit: $PX4IO_LIMIT Hz"
|
|
px4io limit $PX4IO_LIMIT
|