Browse Source

ROMFS: add control_allocator to all types

master
Beat Küng 3 years ago committed by Daniel Agar
parent
commit
230aae580f
  1. 8
      ROMFS/px4fmu_common/init.d/rc.airship_apps
  2. 8
      ROMFS/px4fmu_common/init.d/rc.fw_apps
  3. 7
      ROMFS/px4fmu_common/init.d/rc.rover_apps
  4. 8
      ROMFS/px4fmu_common/init.d/rc.uuv_apps
  5. 8
      ROMFS/px4fmu_common/init.d/rc.vtol_apps

8
ROMFS/px4fmu_common/init.d/rc.airship_apps

@ -48,6 +48,14 @@ fi @@ -48,6 +48,14 @@ fi
# End Estimator Group Selection #
###############################################################################
if param compare SYS_CTRL_ALLOC 1
then
#
# Start Control Allocator
#
control_allocator start
fi
#
# Start Airship Attitude Controller.
#

8
ROMFS/px4fmu_common/init.d/rc.fw_apps

@ -10,6 +10,14 @@ @@ -10,6 +10,14 @@
#
ekf2 start &
if param compare SYS_CTRL_ALLOC 1
then
#
# Start Control Allocator
#
control_allocator start
fi
#
# Start attitude controller.
#

7
ROMFS/px4fmu_common/init.d/rc.rover_apps

@ -12,6 +12,13 @@ ekf2 start & @@ -12,6 +12,13 @@ ekf2 start &
#attitude_estimator_q start
#local_position_estimator start
if param compare SYS_CTRL_ALLOC 1
then
#
# Start Control Allocator
#
control_allocator start
fi
#
# Start attitude controllers.

8
ROMFS/px4fmu_common/init.d/rc.uuv_apps

@ -15,6 +15,14 @@ ekf2 start & @@ -15,6 +15,14 @@ ekf2 start &
# End Estimator Group Selection #
###############################################################################
if param compare SYS_CTRL_ALLOC 1
then
#
# Start Control Allocator
#
control_allocator start
fi
#
# Start UUV Attitude Controller.
#

8
ROMFS/px4fmu_common/init.d/rc.vtol_apps

@ -15,6 +15,14 @@ ekf2 start & @@ -15,6 +15,14 @@ ekf2 start &
# End Estimator group selection #
###############################################################################
if param compare SYS_CTRL_ALLOC 1
then
#
# Start Control Allocator
#
control_allocator start
fi
airspeed_selector start
vtol_att_control start

Loading…
Cancel
Save