mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
VOXL2: Updated startup script to patch EKF2_EV_CTRL set default value issue
This commit is contained in:
committed by
Ramon Roche
parent
86f049ead1
commit
a6b90eb050
@@ -59,12 +59,19 @@ fi
|
|||||||
|
|
||||||
param select /data/px4/param/parameters
|
param select /data/px4/param/parameters
|
||||||
|
|
||||||
# Load in all of the parameters that have been saved in the file
|
# Change defaults before loading in updated parameters from the file
|
||||||
param load
|
|
||||||
|
|
||||||
# This was the default pre-v1.16.0 and for folks relying on that
|
# This was the default pre-v1.16.0 and for folks relying on that
|
||||||
# we set it up here
|
# we set it up here
|
||||||
param set-default EKF2_EV_CTRL 15
|
param set-default EKF2_EV_CTRL 15
|
||||||
|
# Shouldn't need to do it separately with qshell but set-default
|
||||||
|
# implementation needs to be updated to set it on DSP as well. Until
|
||||||
|
# then need to do it as a separate step.
|
||||||
|
qshell param set-default EKF2_EV_CTRL 15
|
||||||
|
|
||||||
|
# Load in all of the parameters that have been saved in the file
|
||||||
|
# after updating any default values
|
||||||
|
param load
|
||||||
|
|
||||||
# IMU (accelerometer / gyroscope)
|
# IMU (accelerometer / gyroscope)
|
||||||
if [ "$PLATFORM" == "M0104" ]; then
|
if [ "$PLATFORM" == "M0104" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user