Commit Graph
193 Commits
Author SHA1 Message Date
tumbili 8026273cb0 land_detector: do not publish if landing or freefall state has not changed
Signed-off-by: tumbili <roman@px4.io> and bkueng <beat-kueng@gmx.net>
2016-06-23 15:56:51 +02:00
Julian Oes f56e951f00 land_detector: don't estimate freefall on 0 data 2016-06-07 12:34:54 +02:00
Julian Oes b2719cf439 land_detector: publish when there is proper data
Instead of publishing before even having done update(), let's wait for a
result and then advertise.
2016-06-07 12:34:54 +02:00
Julian Oes 64109daff8 land_detector: fix timestamp type (#4710)
The overflow of the uint32_t lead to the land_detector start getting
aborted.
2016-06-01 17:15:27 +02:00
Julian Oes 224fbbc26b land_detector: fix uninitialized value (#4659) 2016-05-27 17:18:51 +02:00
Lorenz Meier db5212a209 Land detector: add missing init 2016-05-13 10:34:13 +02:00
Julian Oes 49ae3e17d5 land_detector: fix wrong astyle formatting (#4399) 2016-04-29 15:36:18 +02:00
Lorenz Meier 1b11049e42 Land detector: fix code style 2016-04-29 15:01:39 +02:00
Lorenz Meier 8b9b02bee8 Land detector: Update params 2016-04-29 14:58:27 +02:00
Lorenz Meier 5c1d2c1cee Land-detector: Better granularity for manual and auto flight modes 2016-04-29 14:50:45 +02:00
Lorenz Meier 3ccd9988d3 Multicopter land detector: Enforce sync between system and detector 2016-04-29 12:34:58 +02:00
Lorenz Meier aa6168963a Land detectorr: Fix units, complete meta data for decent user representation 2016-04-25 09:35:23 +02:00
Emmanuel Roussel b3841e5ea5 ran astyle 2016-04-18 22:27:11 +02:00
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