Nicolas de Palezieux
90e3aeda6c
logger : add support for logging precision landing messages
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
f2dbb0ad3b
commander : add support for precision landing measurements
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
d9b9b4407a
ekf2 : add support for precision landing measurement fusion
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
dd1d0adfef
LPE : add support for precision landing measurement fusion
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
f600cfbb9f
Add support for testing precision landing in SITL simulation
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
d9221bb8d2
mc_pos_control : add support for precision landing
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
aa4c6c038d
navigator : add support for precision landing
2018-01-15 10:27:23 +01:00
Nicolas de Palezieux
652d295b2d
Add landing_target_estimator for precision landing from @ndepal
2018-01-15 10:27:23 +01:00
TSC21
ec1c37e1af
modules: lpe: push sensor status update to object; prioritize lidar readings over sonar
2018-01-14 22:52:41 +01:00
TSC21
b512759336
modules: lpe: refactor fusion bitmask
2018-01-14 22:52:41 +01:00
ChristophTobler
9ac70ff639
update DriverFramework submodule to include LTC2946 driver
2018-01-14 12:56:49 +01:00
ChristophTobler
7c019b7da3
publish battery_status directly
...
This is temporary until there is a solution that works for adc and posix power modules
2018-01-14 12:56:49 +01:00
ChristophTobler
4b751bdc4f
add wrapper for snapdragon power module (ltc2946) from DriverFramework
2018-01-14 12:56:49 +01:00
stmoon
8b3ea27bb3
correct coding style
2018-01-14 12:55:47 +01:00
stmoon
eec1ead233
update description of LPE_FUSION
2018-01-14 12:55:47 +01:00
stmoon
28a5287a91
add FUSE_MOCAP, FUSE_LIDAR, and FUSE_SONAR to select more senors
2018-01-14 12:55:47 +01:00
Daniel Agar
b524c8a20f
navigator silence geofence update PX4_INFO
2018-01-14 12:53:53 +01:00
Daniel Agar
6e0f3ffa88
commander move mission init out of main loop
2018-01-14 12:53:53 +01:00
Daniel Agar
fe6006e22f
commander move mission_result to class
2018-01-14 12:53:53 +01:00
Daniel Agar
f49c061a3c
navigator fix mission_result increment and sign mismatch
2018-01-14 12:53:53 +01:00
Daniel Agar
b1a3475ebf
commander mission valid check require updated mission_result
2018-01-14 12:53:53 +01:00
Daniel Agar
916d6a15fd
Mission merge offboard + onboard and simplify
2018-01-14 12:53:53 +01:00
Daniel Agar
956935141e
Navigator simplify mission
2018-01-14 12:53:53 +01:00
Daniel Agar
25c7a03a8b
Navigator remove unnecessary calls to updateParams
...
- the SuperBlock already does this
2018-01-14 12:53:53 +01:00
Lorenz Meier
6227139df1
MAVLink app: Make debug messages a compile time check
...
The debug messages are too verbose to be run in a production vehicle and inherently were something that should only be run in SITL / debug sessions on hardware. Switching the flag to the PX4_DEBUG() macro does not only make this more explicit, but also saves a lot of flash space that otherwise was consumed by the strings.
2018-01-13 22:02:57 -05:00
Lorenz Meier
f1a3fd09a3
Iridium SBD: Make debug messages a compile-time flag
...
This ensures that users do not accidentally enable this in an airborne system and saves flash space.
2018-01-13 22:02:57 -05:00
Lorenz Meier
bc487c7c36
Iridium: Remove lengthy test content
...
And also format file according to code style.
2018-01-13 22:02:57 -05:00
Matthias Grob
931482941c
mc_pos_control: use global _dt member from the control block architecture
2018-01-13 13:08:47 +01:00
Daniel Agar
a25ca0c37d
param include px4_config.h for FLASH_BASED_PARAMS
...
- fixes #8585
2018-01-12 23:46:15 +01:00
Daniel Agar
7b1b255158
EKF2 set zero unused estimator_status fields
2018-01-12 23:19:46 +01:00
Beat Küng
f47d0c8f8c
load_mon: reduce FDS_LOW_WARNING_THRESHOLD to 3
...
This bound can be quite tight, because:
- The system still behaves well, even if all FD's are used (as opposed to
a stack overflow)
- The amount of used FD's is typically only increased one at a time
(e.g. adding new logged topics, adding a mavlink stream, ...)
- reducing CONFIG_NFILE_DESCRIPTORS to the minimum frees up a considerable
amount of RAM on systems that need it
2018-01-12 23:18:59 +01:00
Beat Küng
794c7a5a0f
load_mon: fix tasks index & fds_free initialization
...
Makes sure that if CONFIG_NFILE_DESCRIPTORS == 0, no warning is printed.
2018-01-12 23:18:59 +01:00
Lorenz Meier
eb43b86a4b
Load mon: Also monitor file descriptors
...
It is important that tasks do not run out of them and this addition will provide a warning and log evidence if it goes wrong.
2018-01-12 23:18:59 +01:00
Daniel Agar
1037e983ab
LidarLite port to raspberrypi ( #8633 )
2018-01-12 16:20:00 -05:00
Beat Küng
86e2f9c306
posix shell: handle Home & End (Editing keys)
...
See https://github.com/mintty/mintty/wiki/Keycodes#editing-keys
2018-01-12 16:18:44 +01:00
ChristophTobler
dfe1b59949
posix main: add Home/End to jump to beginning/end
2018-01-12 16:18:44 +01:00
ChristophTobler
d523cb54a5
posix main: add left/right arrow
...
with this commit, lines can be edited with the lef/right arrow key
2018-01-12 16:18:44 +01:00
Daniel Agar
137a2444a8
VTOL standard respect VT_ELEV_MC_LOCK
2018-01-11 16:18:47 -05:00
Daniel Agar
2756c76613
mixer lib delete old multi_tables.py and cleanup cmake ( #8658 )
2018-01-11 15:56:15 -05:00
Matthias Grob
385212f2c1
Simulator: virtual battery drain stops by default at 50% to avoid failing preflight checks to take off again
...
also added comments and removed throttle compensation because there is no real battery emulation with load drop
2018-01-11 08:36:03 +01:00
Matthias Grob
8c998c1309
Battery: enhanced voltage, capacity estimate fusion, set empty voltage to a useful value for reasonable lipo usage
2018-01-11 08:36:03 +01:00
Matthias Grob
919b6ae239
Battery added proper initialization for the capacity voltage fusion and doubled the time constant
2018-01-11 08:36:03 +01:00
Matthias Grob
663913a1dc
Battery: added simple fusion of capacity based estimate and voltage based estimate
2018-01-11 08:36:03 +01:00
Matthias Grob
823d423456
Battery: refactor current integration to be easier understandable
2018-01-11 08:36:03 +01:00
Matthias Grob
9fbd6b912d
Battery: adapt output constraints to possible values, only calculate remaining capacity if capacity is configured
2018-01-11 08:36:03 +01:00
Matthias Grob
60cc132c8a
Battery: refactor _param out of the variable names and use 0.f for zero floats to make code more readable
2018-01-11 08:36:03 +01:00
Matthias Grob
90b326f3b5
Battery: get rid of the duplicate filtering, just use the already existing methods
2018-01-11 08:36:03 +01:00
Matthias Grob
101aeadf03
Battery: revised voltage drop calculation to fit the new simpler easier to verify estimation
2018-01-11 08:36:03 +01:00
Matthias Grob
52e2aecaf1
Battery: simplify linear voltage relation, currently neglecting the real world voltage drop under load
2018-01-11 08:36:03 +01:00
Matthias Grob
bc15fdf267
Simulator: virtual battery drain simplified and stops when battery is exactly empty
...
it's a lot more readable and battery draining stops exactly at the empty battery voltage which makes debuging easier because it's directly predicatable
2018-01-11 08:36:03 +01:00