Julian Oes
740bfc0b32
MulticopterLandDetector: use hysteresis lib
...
The hysteresis was not properly implemented in the land detector and is
therefore replaced by the library call, both for the freefall detector
and the land detector.
2016-07-30 12:26:56 +02:00
Julian Oes
f56e951f00
land_detector: don't estimate freefall on 0 data
2016-06-07 12:34:54 +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
Lorenz Meier
1b11049e42
Land detector: fix code style
2016-04-29 15:01:39 +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
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
Lorenz Meier
321440281b
Fix land detection for altitude hold
2016-04-05 15:32:13 -07: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
tumbili
8832e178b0
added class for vtol landing detection
2015-11-25 13:41:57 +01:00
Lorenz Meier
fc29fed260
Land detector: Fix code style
2015-10-19 13:47:57 +02:00
Lorenz Meier
9f322a395e
Make land detector more robust during initial spool-up
2015-07-19 18:30:52 +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
Johan Jansen
9ddb7e72e4
LandDetector: Check each rotation angle rather than the magnitude
2015-02-09 18:06:29 +01:00
Johan Jansen
fe21cb6a1a
LandDetector: Fix for land detection without GPS
2015-02-09 18:06:29 +01:00
Johan Jansen
004118f929
LandDetector: Change rotation rate in rads/s to deg/s (more similar to mpc params)
2015-02-09 12:47:31 +01:00
Johan Jansen
01dc774703
LandDetector: Use vehicle_attitude instead of sensors_combined
2015-02-09 12:42:20 +01:00
Johan Jansen
70e4554f76
LandDetector: Fix parameter swapped bug
2015-02-09 12:42:02 +01:00
Lorenz Meier
378dcc53d6
Code style: minor comment styling
2015-01-17 23:32:00 +01:00
Lorenz Meier
b1127315b4
Fixed land detector param names
2015-01-17 23:26:43 +01:00
Johan Jansen
510a314386
LandDetector: Shorter and less ambiguous param names
2015-01-15 14:58:06 +01:00
Johan Jansen
92add9cf80
LandDetector: Externalized algorithm parameters
2015-01-15 14:37:51 +01:00
Johan Jansen
e40d207311
AStyle: Fixed file formatting
2015-01-15 14:37:51 +01:00
Johan Jansen
f1587da4c4
MulticopterLandDetector: Detect land even if autopilot is not landing
2015-01-15 14:37:51 +01:00
Johan Jansen
10a2dd8a34
LandDetector: Merged fixedwing and multicopter into one module handling both algorithms
2015-01-15 14:37:51 +01:00