mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-08 13:31:35 +08:00
Currently only precision landing is using the LandingTargetEstimator and it is a waste to have it running in the background all the time. With this change the estimator is only started once the precision landing flight task is activated, and stopped when the flight task is deactivated.
78 lines
3.6 KiB
CMake
78 lines
3.6 KiB
CMake
############################################################################
|
|
#
|
|
# Copyright (c) 2017 PX4 Development Team. All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms, with or without
|
|
# modification, are permitted provided that the following conditions
|
|
# are met:
|
|
#
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
# notice, this list of conditions and the following disclaimer.
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
# notice, this list of conditions and the following disclaimer in
|
|
# the documentation and/or other materials provided with the
|
|
# distribution.
|
|
# 3. Neither the name PX4 nor the names of its contributors may be
|
|
# used to endorse or promote products derived from this software
|
|
# without specific prior written permission.
|
|
#
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
#
|
|
############################################################################
|
|
|
|
add_subdirectory(adsb EXCLUDE_FROM_ALL)
|
|
add_subdirectory(airspeed EXCLUDE_FROM_ALL)
|
|
add_subdirectory(avoidance EXCLUDE_FROM_ALL)
|
|
add_subdirectory(battery EXCLUDE_FROM_ALL)
|
|
add_subdirectory(bezier EXCLUDE_FROM_ALL)
|
|
add_subdirectory(button EXCLUDE_FROM_ALL)
|
|
add_subdirectory(cdev EXCLUDE_FROM_ALL)
|
|
add_subdirectory(circuit_breaker EXCLUDE_FROM_ALL)
|
|
add_subdirectory(collision_prevention EXCLUDE_FROM_ALL)
|
|
add_subdirectory(component_information EXCLUDE_FROM_ALL)
|
|
add_subdirectory(controllib EXCLUDE_FROM_ALL)
|
|
add_subdirectory(conversion EXCLUDE_FROM_ALL)
|
|
add_subdirectory(crc EXCLUDE_FROM_ALL)
|
|
add_subdirectory(crypto EXCLUDE_FROM_ALL)
|
|
add_subdirectory(drivers EXCLUDE_FROM_ALL)
|
|
add_subdirectory(field_sensor_bias_estimator EXCLUDE_FROM_ALL)
|
|
add_subdirectory(geo EXCLUDE_FROM_ALL)
|
|
add_subdirectory(hysteresis EXCLUDE_FROM_ALL)
|
|
add_subdirectory(l1 EXCLUDE_FROM_ALL)
|
|
add_subdirectory(landing_target_estimator EXCLUDE_FROM_ALL)
|
|
add_subdirectory(led EXCLUDE_FROM_ALL)
|
|
add_subdirectory(matrix EXCLUDE_FROM_ALL)
|
|
add_subdirectory(mathlib EXCLUDE_FROM_ALL)
|
|
add_subdirectory(mixer_module EXCLUDE_FROM_ALL)
|
|
add_subdirectory(motion_planning EXCLUDE_FROM_ALL)
|
|
add_subdirectory(npfg EXCLUDE_FROM_ALL)
|
|
add_subdirectory(perf EXCLUDE_FROM_ALL)
|
|
add_subdirectory(pid EXCLUDE_FROM_ALL)
|
|
add_subdirectory(pid_design EXCLUDE_FROM_ALL)
|
|
add_subdirectory(rate_control EXCLUDE_FROM_ALL)
|
|
add_subdirectory(rc EXCLUDE_FROM_ALL)
|
|
add_subdirectory(sensor_calibration EXCLUDE_FROM_ALL)
|
|
add_subdirectory(slew_rate EXCLUDE_FROM_ALL)
|
|
add_subdirectory(systemlib EXCLUDE_FROM_ALL)
|
|
add_subdirectory(system_identification EXCLUDE_FROM_ALL)
|
|
add_subdirectory(tecs EXCLUDE_FROM_ALL)
|
|
add_subdirectory(terrain_estimation EXCLUDE_FROM_ALL)
|
|
add_subdirectory(timesync EXCLUDE_FROM_ALL)
|
|
add_subdirectory(tinybson EXCLUDE_FROM_ALL)
|
|
add_subdirectory(tunes EXCLUDE_FROM_ALL)
|
|
add_subdirectory(version EXCLUDE_FROM_ALL)
|
|
add_subdirectory(weather_vane EXCLUDE_FROM_ALL)
|
|
add_subdirectory(wind_estimator EXCLUDE_FROM_ALL)
|
|
add_subdirectory(world_magnetic_model EXCLUDE_FROM_ALL)
|