Commit Graph

80 Commits

Author SHA1 Message Date
Emmanuel Roussel ec427f61c4 fix a small mistake: parameter LNDMC_FFALL_TRIG was not shown in QGC. 2016-04-18 22:27:11 +02:00
Emmanuel Roussel f350bab67b use accelerations provided by the control_state message instead of
sensor_combined
2016-04-18 22:27:11 +02:00
Emmanuel Roussel e6b3cf3ac9 Fix code style
(Ran AStyle)
2016-04-18 22:27:11 +02:00
Emmanuel Roussel 59c9f6b4fb Removed debug parts
Disable free-fall detection when threshold is 0
2016-04-18 22:27:11 +02:00
Emmanuel Roussel 776c7f5d60 Updated commander to take free-fall into account
Added free-fall status in vehicle_status topic
2016-04-18 22:27:11 +02:00
Emmanuel Roussel 98d51179ad Added time to trigger free-fall as a parameter 2016-04-18 22:27:11 +02:00
Emmanuel Roussel 78a99797fb Implemented first try on multicopter free-fall detection 2016-04-18 22:27:11 +02:00
Emmanuel Roussel 35110a52f9 Added room in land_detector code for free-fall detection 2016-04-18 22:27:11 +02:00
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Daniel Agar dfeab4f5e3 remove unused vehicle_status 2016-04-11 18:01:48 +02:00
Lorenz Meier 321440281b Fix land detection for altitude hold 2016-04-05 15:32:13 -07:00
Siddharth Bharat Purohit 91a32ff7fb landdetector: use PX4_WARN and remove printf statements 2016-03-22 22:20:11 +01:00
Julian Oes 2f4aaa6449 land_detector: remove unused variables 2016-03-14 09:45:34 +01:00
Julian Oes 836c63339e land_detector_params: comment fix 2016-03-14 09:45:34 +01:00
Julian Oes 31beabd7b9 VtolLandDetector: only comment fixes 2016-03-14 09:45:34 +01:00
Julian Oes 70eb77453a MultiCopterLandDetector: switch to local position
Instead of using the global position topic for NED velocities, let's use
the local position topic. Also, use the xy and z valid flags instead of
the system state.
In case of no local position update, still rely on the throttle stick
position.
2016-03-14 09:45:34 +01:00
Julian Oes f5e0c72ea0 FixedwingLandDetector: timeout fixes
In the case of the control state topic not updating, the land detector
would get stuck. Therefore, set it to landed in that case.
2016-03-14 09:45:34 +01:00
Daniel Agar 7a9427bc34 param remove empty @unit 2016-03-14 09:12:34 +01:00
Daniel Agar c9b03a9844 land_detector param @unit 2016-03-14 09:10:29 +01:00
Andreas Antener 3c4141ff50 increased time for less strict takeoff detection after arming 2015-12-28 15:21:50 +01:00
Roman c6408924cf add vtol land detector to CMakeLists.txt 2015-11-25 13:41:57 +01:00
tumbili 8832e178b0 added class for vtol landing detection 2015-11-25 13:41:57 +01:00
Lorenz Meier de46d8e872 Land detector: Code cleanup 2015-11-17 14:15:41 +01:00
Lorenz Meier 515d81b8d6 Land detector: Move back to more agile raw airspeed 2015-11-17 14:15:41 +01:00
Lorenz Meier f02dc3c95f Fixed wing land detector: Use control state, use horizontal acceleration for takeoff detect 2015-11-17 14:15:41 +01:00
Lorenz Meier fc29fed260 Land detector: Fix code style 2015-10-19 13:47:57 +02:00
Lorenz Meier 0318c1b330 Land detector: Run in work queue 2015-10-10 22:23:34 +02:00
Lorenz Meier e11a753e24 Land detector: Disable params in build 2015-10-10 16:20:49 +02:00
Daniel Agar 4151522902 only enforce frame size for nuttx 2015-10-06 23:37:33 -04:00
Daniel Agar 6c10cf18e4 re-enable Werror 2015-10-06 18:28:30 -04:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
Lorenz Meier 88bb98379e Land detector: Add required POSIX header 2015-09-20 10:58:18 +02:00
Lorenz Meier 616b9f7bc0 Land detector: Add missing POSIX header 2015-09-20 10:25:16 +02:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier 0321f416a0 Increase allowance for vertical velocity in landed mode 2015-07-19 18:33:14 +02:00
Lorenz Meier 9f322a395e Make land detector more robust during initial spool-up 2015-07-19 18:30:52 +02:00
Lorenz Meier 234990fbe4 Merge branch 'release_v1.0.0' of github.com:PX4/Firmware 2015-07-02 01:00:06 +02:00
Lorenz Meier 5bec38b37d MC land detector: Slightly decrease allowed vertical motion during landed state. This is important so that fast descends do not result in a false positive landed state 2015-06-30 09:51:04 +02:00
Lorenz Meier 5549d480fd MC land detector: Update params and fix docs. Allow more motion during the landed state, but become more picky on throttle. 2015-06-30 09:51:04 +02:00
Lorenz Meier 9a36588361 MC land detector: If no position information is available, rely on the armed state exclusively to infer the landed condition. 2015-06-30 09:51:04 +02:00
Lorenz Meier d19de58102 Merge branch 'master' of github.com:PX4/Firmware into master_release 2015-06-27 11:54:17 -07:00
Ban Siesta b0642f8d32 land_detector: shut up if started correctly 2015-06-28 15:24:48 +01:00
tumbili 40cc11a5ed ported land detector 2015-06-26 15:01:17 +02:00
Lorenz Meier 454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier 640024357f Land detector: increase ground speed threshold 2015-06-24 17:44:44 +02:00
Lorenz Meier 289ad91bcc Fixed wing land detector: Filter GPS speeds more since they are unreliable, leave airspeed filter where it was 2015-06-24 17:44:11 +02:00
Lorenz Meier c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
Lorenz Meier 891829d3a7 Land detector: Protect fixed wing logic from false-positives due to bad input data 2015-06-11 19:25:17 +02:00
Lorenz Meier b7986e6fdd land detector: Improve performance for fixed wing setups 2015-06-06 11:37:10 +02:00