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
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Mark Charlebois
a734fc96d1
extensive orb_advert_t fixes
...
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.
The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.
Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:41:33 -07:00
Ban Siesta
11f80ceb64
land_detector: get rid of one dot at a time
2015-05-26 23:04:17 -07:00
Ban Siesta
87f41855fb
land_detector: get rid of one dot at a time
2015-05-25 19:01:34 +01:00
Lorenz Meier
073f10fe4f
Land detector: Better docs and status feedback
2015-05-24 11:46:25 +02:00
Lorenz Meier
945aa4789b
Land detector: Make fixed wing detections more stable with better param
2015-05-24 11:45:42 +02:00
Mark Charlebois
c5237f7f6f
Removed extra abstracton layer in systemlib
...
The calls to task_spawn_cmd, kill_all, and systemreset were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.
Removed the wrappers and changed all calls to the px4_ equivalents.
NuttX specific code was moved into px4_tasks.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-06 14:43:11 -07:00