Daniel Agar
f67ac8ba00
land detector clang-tidy trivial changes
2017-08-31 22:49:44 -04:00
Daniel Agar
6e402bd6f4
land detector uniform initialization cleanup
2017-08-31 22:49:44 -04:00
Daniel Agar
cb8cc9a795
land detector add cycle perf
2017-08-31 22:49:44 -04:00
Daniel Agar
c250fb0a9e
land detector FW round get_max_altitude()
...
- this prevents constant land detector publications
2017-08-31 22:49:44 -04:00
Daniel Agar
18d29d5a73
land detector FW uniform initialization
2017-08-31 22:49:44 -04:00
Daniel Agar
90819b2852
land detector move hysteresis constants into FW and MC
2017-08-31 22:49:44 -04:00
Dennis Mannhart
e39b38ba96
landdetector groundcontact: adjust climbrate if landing speed is low
2017-08-21 20:38:07 +02:00
Daniel Agar
b70b8288b9
px4_includes cleanup incomplete list
2017-08-20 20:42:42 +02:00
Dennis Mannhart
f50052f290
landdetector mc: widen acceptance threshold after landing instead of arming
2017-08-15 10:30:29 +02:00
Daniel Agar
bd7284634d
land_detector add missing header and init all vtol fields ( #7754 )
2017-08-09 11:43:36 -04:00
sanderux
6ee24a0c80
Move land detector changes to vtol
2017-08-09 08:12:54 +02:00
sanderux
49d2e8a3ff
Land detector fix for VTOL in FW mode
2017-08-09 08:12:54 +02:00
Sander Smeets
c81dd46b02
land detector VTOL inherit MC maybe_landed ( #7738 )
...
* maybe_landed state for VTOL inherited from MC
* set correct land detector for SITL
2017-08-06 10:02:56 -04:00
Dennis Mannhart
a95f02b4a1
land-detector description fix
2017-08-01 19:31:34 +02:00
Dennis Mannhart
f26972704e
style fix
2017-08-01 19:31:34 +02:00
Dennis Mannhart
e6f7af2dcf
landdetector + mc_pos_control cherry-pick fix
2017-08-01 19:31:34 +02:00
Dennis Mannhart
69ecfef8a4
landdetector: consider 8 second maybe_landed case only if no rotation present
2017-08-01 19:31:34 +02:00
Dennis Mannhart
03d86054a4
landdetector: decrease land detection to 0.3
2017-08-01 19:31:34 +02:00
Dennis Mannhart
10c41e2624
land xy max: set it back to 1.5
2017-08-01 19:31:34 +02:00
Dennis Mannhart
50ef2d0e52
landdetector: adjust time to 3 stage detection
2017-08-01 19:31:34 +02:00
Dennis Mannhart
9baf41bef1
landdetector: check horizontal movement as criteria to enter ground contact
2017-08-01 19:31:34 +02:00
Dennis Mannhart
bc46f13d90
landdetector: use control mode, add minimum speed to detect hit-ground
2017-08-01 19:31:34 +02:00
Dennis Mannhart
549d8da6ee
landdetector: hit ground logic
2017-08-01 19:31:34 +02:00
Dennis Mannhart
2405abd859
mc landdetector description
2017-08-01 19:31:34 +02:00
Dennis Mannhart
4e204e00cb
landdetector: maybe_landed for rover
2017-08-01 19:31:34 +02:00
Dennis Mannhart
8f7ebc1f3a
mc landdetector: simplify return
2017-08-01 19:31:34 +02:00
Dennis Mannhart
f75dd37326
landdetector: delete or for ground_contact detection
2017-08-01 19:31:34 +02:00
Dennis Mannhart
411ceaa6b3
multicopter landdetector: delete PX4_INFO
2017-08-01 19:31:34 +02:00
Dennis Mannhart
97b5cc77b8
landdetector: reduce maybe_landed trigger time to 1s
2017-08-01 19:31:34 +02:00
Dennis Mannhart
f8e9f380d0
landdetector: add additional landdetection state
2017-08-01 19:31:34 +02:00
Beat Küng
4ccbeb47c0
land_detector_main: fix documentation: rover -> ugv
2017-07-14 11:57:11 +02:00
Beat Küng
1c7941fc89
land_detector: fix too long lines in module documentation
2017-07-14 11:57:11 +02:00
Dennis Mannhart
eb17d4b5f3
MC landdetector: update description
2017-07-14 11:57:11 +02:00
Beat Küng
8a83fb7dc2
land_detector: use ModuleBase & add module documentation
2017-07-14 11:57:11 +02:00
Beat Küng
1e2ce51c6d
LandDetector: fix vehicle flight time
...
The problem was signed vs unsigned mixing together with 64bit conversion:
int32_t flight_time = ...;
uint64_t _total_flight_time = ...;
_total_flight_time |= flight_time;
When flight_time is negative, the last line would first extend the sign
bit to the upper 32bits of the 64bit uint and then apply the bitwise OR.
The fix is to use an unsigned 32 bit value.
2017-07-04 14:13:18 +02:00
Marco Zorzi
aef522553e
unmanned ground vehicle (UGV) controllers and Traxxas Stampede configuration ( #7175 )
2017-06-06 13:26:51 -04:00
Daniel Agar
5d626bd940
clang-tidy remove redundant init
2017-06-02 19:35:18 -04:00
Daniel Agar
64ed96d81a
clang-tidy readability-simplify-boolean-expr
2017-06-02 19:35:18 -04:00
Lorenz Meier
669e580f0a
Land detector max altitude: Adjust max limit
2017-05-14 14:24:06 +02:00
Lorenz Meier
cdb8146af5
Land detector: Choose a default alt limit parameter value that ensures regular users are not running into it
2017-05-14 13:27:57 +02:00
Matthias Grob
d1b270d5b2
land_detector: fix sanity condition that we have ground contact when we are landed to include the hysteresis flag
...
because the condition was looking for the instantaneous flag and during the hysteresis time the state did not change anymore
2017-04-20 13:20:01 +02:00
Matthias Grob
caecdbd60b
land_detector: treat altitude mode like position mode with vertical checks but without horizontal checks
...
because in altitude mode we have a baro available and can therefore check vertical movement
we can not check horizontal movement but I consider the checks for landing still pretty safe
unlike in manual mode we are not allowed to disarm before land detection in altitude mode
2017-04-20 13:20:01 +02:00
Dennis Mannhart
340773096d
landdetector: exit landing state if manual.z is larger than threshold
2017-04-13 16:59:23 +02:00
Lorenz Meier
61cd89efc1
Land detector: Since multicopters take off and land slower than 0.7 m/s, setting the default detection threshold to 0.5 m/s is a much safer default
2017-04-09 17:22:58 +02:00
Beat Küng
4b18f8ea46
LandDetector: remove param_notify_changes()
...
not needed anymore because of autosave
2017-04-06 11:49:03 +02:00
Mohammed Kabir
e8e4e5be49
land detector : add stbs for altitude
2017-04-02 21:52:18 +02:00
Lorenz Meier
5f135acf33
Land detector: Add mode for rovers
2017-04-02 21:52:18 +02:00
Beat Küng
948635c989
LandDetector: call param_notify_changes() instead of param_save_default()
...
param_save_default() could take something like 0.5s, and because the
LandDetector is running on the HP work queue, this would block other
tasks, like RC handling or drivers.
2017-03-14 21:43:44 +01:00
Lorenz Meier
706464d2eb
Land detector: Fix param meta data
2017-03-12 14:42:19 +01:00
Beat Küng
c715228b8f
LandDetector: save & initialize total flight time
2017-03-08 04:19:22 +08:00