VTOL: add parameter to prevent flight if roll direction was not checked

Mark V19_VT_ROLLDIR @category system

Throttle down mavlink critical msg

Send 0 actuator_output for safety

VTOL: unset v1.9 roll direction safety check param for builtin airframes
This commit is contained in:
Julien Lecoeur
2019-02-05 20:38:36 +01:00
committed by Daniel Agar
parent e28f8a7f2e
commit 5f06c6a1aa
21 changed files with 113 additions and 1 deletions

View File

@@ -62,6 +62,9 @@ then
param set VT_F_TRANS_THR 0.75
param set VT_MOT_COUNT 4
param set VT_TYPE 2
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
param set SYS_HITL 1

View File

@@ -27,6 +27,9 @@ then
param set VT_TYPE 2
param set VT_MOT_COUNT 4
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 22

View File

@@ -37,6 +37,9 @@ then
param set VT_ELEV_MC_LOCK 0
param set VT_MOT_COUNT 2
param set VT_TYPE 0
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 19

View File

@@ -48,6 +48,9 @@ then
param set VT_TILT_FW 0.9
param set VT_ELEV_MC_LOCK 0
param set VT_TYPE 1
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 21

View File

@@ -19,6 +19,9 @@ then
param set VT_IDLE_PWM_MC 1080
param set VT_TYPE 0
param set VT_ELEV_MC_LOCK 1
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 20

View File

@@ -30,6 +30,9 @@ then
param set VT_IDLE_PWM_MC 1080
param set VT_TYPE 0
param set VT_ELEV_MC_LOCK 1
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 20

View File

@@ -60,6 +60,9 @@ then
param set VT_MOT_COUNT 4
param set VT_IDLE_PWM_MC 1080
param set VT_TYPE 2
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 22

View File

@@ -49,6 +49,9 @@ then
param set VT_F_TRANS_THR 0.75
param set VT_IDLE_PWM_MC 1080
param set VT_TYPE 2
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 22

View File

@@ -37,6 +37,9 @@ then
param set VT_MOT_COUNT 4
param set VT_IDLE_PWM_MC 1080
param set VT_TYPE 2
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 22

View File

@@ -55,6 +55,9 @@ then
param set VT_IDLE_PWM_MC 1080
param set VT_MOT_COUNT 4
param set VT_TYPE 2
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 22

View File

@@ -77,6 +77,8 @@ then
param set VT_TRANS_TIMEOUT 30
param set VT_TYPE 2
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 22

View File

@@ -30,6 +30,9 @@ then
param set VT_TILT_TRANS 0.5
param set VT_ELEV_MC_LOCK 0
param set VT_TYPE 1
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 21

View File

@@ -77,6 +77,9 @@ then
param set VT_TRANS_P2_DUR 1.3
param set VT_ELEV_MC_LOCK 0
param set VT_TYPE 1
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 21

View File

@@ -151,6 +151,8 @@ then
param set VT_TRANS_TIMEOUT 22
param set VT_F_TRANS_RAMP 4
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
param set V19_VT_ROLLDIR 0
fi
set MAV_TYPE 22