mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
pixhawk 2.1 add 2nd ms5611
This commit is contained in:
committed by
Lorenz Meier
parent
2c23c16b4f
commit
a8747a01fe
@@ -38,6 +38,10 @@ else
|
|||||||
fmu sensor_reset 50
|
fmu sensor_reset 50
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ms5611 -S start
|
||||||
|
then
|
||||||
|
fi
|
||||||
|
|
||||||
if ms5611 -s start
|
if ms5611 -s start
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -619,6 +619,7 @@ Sensors::Sensors() :
|
|||||||
_vibration_warning_timestamp(0),
|
_vibration_warning_timestamp(0),
|
||||||
_vibration_warning(false)
|
_vibration_warning(false)
|
||||||
{
|
{
|
||||||
|
_baro.voter.set_timeout(300000);
|
||||||
_mag.voter.set_timeout(300000);
|
_mag.voter.set_timeout(300000);
|
||||||
|
|
||||||
memset(&_rc, 0, sizeof(_rc));
|
memset(&_rc, 0, sizeof(_rc));
|
||||||
|
|||||||
Reference in New Issue
Block a user