Chris Lovett
91d2ad17b7
Fix takeoff overshoot (issue #319 ).
2017-04-17 14:35:16 +02:00
Andreas Daniel Antener
18293875b7
Old style switches: changed the loiter switch to have priorit over main switch ( #6764 )
2017-04-16 10:10:31 -04:00
Daniel Agar
4487f06629
fw_pos_ctrl_l1 stop using sensors_combined
2017-04-16 08:19:43 -04:00
Daniel Agar
71004ab897
FW launchdetector only run if armed
2017-04-16 08:19:43 -04:00
Nate Weibley
9038be2d83
Fix EKF velocity innovation limit preflight check
2017-04-15 01:21:10 +02:00
Lorenz Meier
f70b4ef883
Navigator: Fix RTL state handling by enabling auto-continue after descend
2017-04-14 10:02:31 +02:00
Sander Smeets
128f726cd9
Add paramter to enable rc stick override
2017-04-14 10:01:36 +02:00
Daniel Agar
a41001354a
FW landingslope delete unused ( #7046 )
2017-04-13 18:18:57 -04:00
Nate Weibley
9eb0e62787
Support calibration of fast+slow gyros #6998
2017-04-13 20:22:35 +02:00
Mohammed Kabir
7fcb3b4f93
camera_trigger : add support for sending ACKs for trigger commands
2017-04-13 20:21:40 +02:00
Jon Watson
3fda79ef8b
set battery warning for MAVLink battery status ( #6890 )
2017-04-13 12:37:19 -04:00
Dennis Mannhart
340773096d
landdetector: exit landing state if manual.z is larger than threshold
2017-04-13 16:59:23 +02:00
Mohamed Abdelkader Zahana
239370d72c
use 1E7 instead 10000000.0f
2017-04-13 11:18:10 +02:00
Mohamed Abdelkader Zahana
a9ec1a35bc
divide lat/lon received from HIL_STATE_QUATERNION msg by 1E7
2017-04-13 11:18:10 +02:00
Matthias Grob
2955a2c317
simulator: typo in initial output message
2017-04-12 18:58:37 +02:00
davidaroyer
1302b6a796
inav: check for updated baro in baro_offset calculation
2017-04-11 06:24:41 +02:00
Beat Küng
24380ae88c
logger: add SDLOG_DIRS_MAX param to limit the max number of log directories
...
Disabled by default, so that logs are not deleted unexpectedly.
2017-04-10 23:37:09 +02:00
Beat Küng
7f0db95f87
logger: reduce CPU load by ~1.5%
...
Reduces CPU load from ~6.9% to 5.3% (tested on Pixracer & Pixhawk). The
method is only used once, so it does not increase flash usage.
2017-04-10 23:37:09 +02:00
Beat Küng
75bd4f1121
logger: implement a logrotate
...
Remove old log directories on startup if free space falls below a threshold.
The threshold is 300MB or 10% of the disk capacity if that's smaller.
2017-04-10 23:37:09 +02:00
Lorenz Meier
85b074f8d8
Navigator: Fix RTL state sequence
2017-04-10 23:34:35 +02:00
Daniel Agar
83cf4fb16e
cmake multi_tables.py dependency
2017-04-10 23:31:56 +02:00
Lorenz Meier
5fd7f2fa6f
Navigator: Clean up of mission block init
2017-04-10 23:18:40 +02:00
Dennis Mannhart
8687d414bf
mc_pos_control: new variable that defines speed in manual controlled mode
2017-04-10 21:34:00 +02:00
Daniel Agar
0b8e88f476
fw_pos_control_l1 remove unnecessary ground_speed
2017-04-10 09:41:01 +02:00
Daniel Agar
dc30498c80
fw_pos_control_l1 control_position split position_setpoint_triplet
2017-04-10 09:41:01 +02:00
Daniel Agar
0b0c552dee
fw_pos_control_l1 remove unused ground_speed arg
2017-04-10 09:41:01 +02:00
Daniel Agar
af7b2cd22f
fw_pos_control_l1 cleanup init and uorb helpers
2017-04-10 09:41:01 +02:00
Daniel Agar
474ce2851e
fw_pos_control_l1 using math constrain, max, min, radians
2017-04-10 09:41:01 +02:00
Daniel Agar
8b4877a6eb
fw_pos_control_l1 delete unused terrain helper
2017-04-10 09:41:01 +02:00
Daniel Agar
c5e0bf1c2f
uORB combine VTOL FW and MC virtual topics ( #7008 )
2017-04-09 13:17:20 -04:00
Lorenz Meier
19f0b0be3a
Navigator: Altitude acceptance to switch to new waypoints should be more accurace than horizontal distance by default
2017-04-09 17:25:38 +02:00
Lorenz Meier
3b743fbbe9
MC position control: Smoother takeoff
...
This patch ramps up the throttle to hover throttle instead of a fixed value and limits the vertical takeoff speed to the value set in the parameter. This should ensure smoother, slower takeoffs, in particular in autonomous flight modes.
2017-04-09 17:22:58 +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
Dennis Mannhart
4ff3fb4dee
mc_pos_control: if takeoff setpoint in auto mode, then do not enter ground contact
2017-04-09 17:19:28 +02:00
Lorenz Meier
08cf97c687
Commander: indicate failsafe reasons more clearly
2017-04-09 12:40:34 +02:00
Lorenz Meier
f74d6e443e
Navigator: Initialize RTL state properly
2017-04-08 07:58:37 +02:00
Pavel Kirienko
5788701cc7
Replaced warn() with PX4_WARN()
2017-04-06 12:05:57 +02:00
Pavel Kirienko
02a9ccc4f2
Removed dependency on <algorithm>
2017-04-06 12:05:57 +02:00
Pavel Kirienko
098b57534d
UAVCAN GNSS bridge: proper handling of various time bases
2017-04-06 12:05:57 +02:00
Pavel Kirienko
8e61ed9b77
Republishing GNSS Fix2 if no GNSS publishers are available on the bus
2017-04-06 12:05:57 +02:00
Pavel Kirienko
14249d3318
UAVCAN GNSS bridge status output shows whether support for the old Fix message is active
2017-04-06 12:05:57 +02:00
Pavel Kirienko
75c45b62d7
UAVCAN GNSS Fix2 handling
2017-04-06 12:05:57 +02:00
Pavel Kirienko
32ac1288ba
Libuavcan update
2017-04-06 12:05:57 +02:00
Beat Küng
044a767235
param: add PARAM_NO_AUTOSAVE: if defined, do not depend on LP work queue
...
Some NuttX configs do not have the work queues enabled.
2017-04-06 11:49:03 +02:00
Beat Küng
1be639ec46
temperature_calibration: turn off param autosave
2017-04-06 11:49:03 +02:00
Beat Küng
43afb8d41e
sensor calibration: remove param_save_default() calls
2017-04-06 11:49:03 +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
Beat Küng
dffba3e03b
param: move variable definitions to the top of the file
2017-04-06 11:49:03 +02:00
Beat Küng
a0e2b0c5a2
param: add param_control_autosave to enable/disable autosave
2017-04-06 11:49:03 +02:00
Beat Küng
f3e9739ab0
param export: use writer lock
...
to protect against concurrent writes to the same file
2017-04-06 11:49:03 +02:00