Commit Graph

24 Commits

Author SHA1 Message Date
Ban Siesta 87f41855fb land_detector: get rid of one dot at a time 2015-05-25 19:01:34 +01: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
Mark Charlebois bf429188b4 Reverted: Use OS independent API for task creation/deletion
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Mark Charlebois ddb32742eb Use OS independent API for task creation/deletion
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.

The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Daniel Agar 2e824bbeea fix incorrect argc < 1 check for no arguments
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Daniel Agar 8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Lorenz Meier 54d2014bd6 Land detector: Adjust stack size of startup handler 2015-03-08 08:14:40 +01:00
Lorenz Meier da5b06a5df land detector: Use less RAM 2015-03-01 18:32:07 +01:00
Vasily Dybala 6d1df8f721 Update land detector parameters at startup. 2015-02-26 23:19:12 +03: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 e38b25c1f7 LandDetector: Fix default param scale error 2015-02-09 16:52:04 +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 1356c44f0e LandDetector: Fix land detection algorithm not being initialized 2015-01-15 14:37:51 +01:00
Johan Jansen 9ea086bf2d Astyle: Run astyle to fix code formatting 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