diff options
author | Julian Oes <julian@oes.ch> | 2014-06-06 17:16:49 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-06-06 17:16:49 +0200 |
commit | 034856a24c4ffd41c991797e75517ed456f77a54 (patch) | |
tree | 2259191adcbaf7fdc24ab766915d4f3c5d5772a8 /src/modules/navigator | |
parent | 7af1103bf3d4936c259e4ee44454d7e34100a7d0 (diff) | |
download | px4-firmware-034856a24c4ffd41c991797e75517ed456f77a54.tar.gz px4-firmware-034856a24c4ffd41c991797e75517ed456f77a54.tar.bz2 px4-firmware-034856a24c4ffd41c991797e75517ed456f77a54.zip |
mission_feasability_checker: fixed warnings
Diffstat (limited to 'src/modules/navigator')
-rw-r--r-- | src/modules/navigator/mission_feasibility_checker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/navigator/mission_feasibility_checker.cpp b/src/modules/navigator/mission_feasibility_checker.cpp index e1a6854b2..dd7f4c801 100644 --- a/src/modules/navigator/mission_feasibility_checker.cpp +++ b/src/modules/navigator/mission_feasibility_checker.cpp @@ -215,11 +215,12 @@ bool MissionFeasibilityChecker::checkFixedWingLanding(dm_item_t dm_current, size // float slope_alt = wp_altitude + _H0 * expf(-math::max(0.0f, _flare_length - wp_distance)/_flare_constant) - _H1_virt; + return false; } void MissionFeasibilityChecker::updateNavigationCapabilities() { - int res = orb_copy(ORB_ID(navigation_capabilities), _capabilities_sub, &_nav_caps); + (void)orb_copy(ORB_ID(navigation_capabilities), _capabilities_sub, &_nav_caps); } void MissionFeasibilityChecker::init() |