mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
init.d-posix: adjust COM_OBC_LOSS_T when using PX4_SIM_SPEED_FACTOR
This commit is contained in:
@@ -177,6 +177,10 @@ if [ -n "$PX4_SIM_SPEED_FACTOR" ]; then
|
||||
COM_OF_LOSS_T_LONGER=$(echo "$PX4_SIM_SPEED_FACTOR * 0.5" | bc)
|
||||
echo "COM_OF_LOSS_T set to $COM_OF_LOSS_T_LONGER"
|
||||
param set COM_OF_LOSS_T $COM_OF_LOSS_T_LONGER
|
||||
|
||||
COM_OBC_LOSS_T_LONGER=$(echo "$PX4_SIM_SPEED_FACTOR * 5.0" | bc)
|
||||
echo "COM_OBC_LOSS_T set to $COM_OBC_LOSS_T_LONGER"
|
||||
param set COM_OBC_LOSS_T $COM_OBC_LOSS_T_LONGER
|
||||
fi
|
||||
|
||||
# Autostart ID
|
||||
|
||||
Reference in New Issue
Block a user