Sander Smeets
545458a687
Consider FW PSP in pitch limits ( #7098 )
...
The FW_PSP_OFF parameter no longer breaches the pitch min/max limits
2017-04-21 13:34:43 +02:00
Paul Riseborough
ed9a9b772e
ekf2: minimum change required to use updated ecl library
2017-04-21 08:34:19 +02:00
Andrew C. Smith
d21b6655d2
Add the Gumstix AeroCore2 to the build system.
2017-04-20 12:24:27 -10:00
Daniel Agar
ed1b442065
mission require valid landing after DO_LAND_START
2017-04-20 14:41:01 -04:00
Daniel Agar
56b028148b
Navigator move get_time_inside and cleanup ( #7062 )
2017-04-20 11:24:55 -04:00
Daniel Agar
1913b970d7
main state auto mission don't require valid mission
2017-04-20 11:18:32 -04:00
Daniel Agar
c1d9972244
commander add parameter COM_ARM_MIS_REQ
...
- arm without mission on by default
2017-04-20 11:18:32 -04:00
Matthias Grob
709bd8cb28
mc_pos_control: combine separate pitch and roll maximum tilt angles into one
...
because there is no sense to have different angle scalings into different directions
it would lead to unintuitive piloting experience
acceleration is directly coupled to the tilt angle regardless of possible assymetric multicopter vehicles
2017-04-20 13:20:01 +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
Beat Küng
73cb423db6
commander: add power button notification callback
2017-04-20 10:01:51 +02:00
Beat Küng
1d1eedb086
logger: register shutdown hook for graceful shutdown
...
This will avoid file system corruptions in cases where px4_shutdown_request
is used. However it will not help obviously when the battery is pulled
directly.
2017-04-20 10:01:51 +02:00
Beat Küng
0165633bf3
board_config: remove px4_board_pwr, use px4_shutdown_request instead
...
px4_board_pwr has become obsolete with the addition of board_shutdown
2017-04-20 10:01:51 +02:00
Beat Küng
694bf48422
system: add generic shutdown API
2017-04-20 10:01:51 +02:00
jwilson
57fa031e2b
Fixes problem preventing params on snapdragon platforms from being saved to flash memory.
2017-04-20 09:06:13 +02:00
Nate Weibley
6a99281501
Incorporate @bkueng's feedback, inhibit bogus output on first pass
2017-04-19 17:24:55 +02:00
Nate Weibley
56f4f2b41f
Fix top output, indentation for #7020
...
Previously load stats were stored outside of the printloop, but
with the refactoring to save memory state was reset and used in
the first loop before the actual load calculations were valid.
Fixed by moving the summary info to the bottom of the top printout
after everything is computed. Also restructured the callback to
not depend on a line counter and fixed astyle glitches.
2017-04-19 17:24:55 +02:00
Daniel Agar
809fec8c05
navigator treat TAKEOFF like POSITION if already flying
2017-04-19 10:45:59 +02:00
crashmatt
304aeddf03
TinyBson - Compatibility with cpp compiler
...
Changed "private" keyword used for argument to "priv"
2017-04-19 08:29:23 +02:00
Daniel Agar
c86185d4be
sensors init CAL_ACC0_ID and CAL_GYRO0_ID for QGC
2017-04-18 10:54:19 +02:00
Lorenz Meier
00158f6e0e
Navigator: Use correct command to start RTL
2017-04-18 08:56:15 +02:00
Don Gagne
96458d3184
Support for RTL and Delay mission commands
2017-04-18 08:56:01 +02:00
Daniel Agar
3721fb9d52
cmake cleanup nuttx dependency handling ( #7007 )
...
- closes #6501
- closes #6820
- closes #6881
2017-04-17 20:57:35 -04:00
Daniel Agar
f460f5b34c
mc_pos_control minor cleanup
2017-04-17 20:31:46 +02:00
Daniel Agar
34058cbc21
mavlink EXTENDED_SYS_STATUS add takeoff and landing ( #7064 )
2017-04-17 09:31:49 -04:00
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