- Jan 14, 2018
-
-
stmoon authored
-
stmoon authored
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
- the SuperBlock already does this
-
Lorenz Meier authored
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.
-
Lorenz Meier authored
This ensures that users do not accidentally enable this in an airborne system and saves flash space.
-
Lorenz Meier authored
And also format file according to code style.
-
- Jan 13, 2018
-
-
PX4 Jenkins authored
-
Matthias Grob authored
-
- Jan 12, 2018
-
-
Daniel Agar authored
- fixes #8585
-
Daniel Agar authored
-
Beat Küng authored
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
-
Beat Küng authored
Makes sure that if CONFIG_NFILE_DESCRIPTORS == 0, no warning is printed.
-
Lorenz Meier authored
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.
-
Daniel Agar authored
-
ChristophTobler authored
-
ChristophTobler authored
with this commit, lines can be edited with the lef/right arrow key
-
- Jan 11, 2018
-
-
Daniel Agar authored
-
Daniel Agar authored
-
Matthias Grob authored
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
-
Matthias Grob authored
Battery: enhanced voltage, capacity estimate fusion, set empty voltage to a useful value for reasonable lipo usage
-
Matthias Grob authored
-
Matthias Grob authored
-
Matthias Grob authored
-
Matthias Grob authored
Battery: adapt output constraints to possible values, only calculate remaining capacity if capacity is configured
-
Matthias Grob authored
Battery: refactor _param out of the variable names and use 0.f for zero floats to make code more readable
-
Matthias Grob authored
-
Matthias Grob authored
-
Matthias Grob authored
Battery: simplify linear voltage relation, currently neglecting the real world voltage drop under load
-
Matthias Grob authored
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
-
- Jan 10, 2018
-
-
Beat Küng authored
In rare circumstances, the buffer size was too small by 1 byte, leading to a param export failure. And leading to a reset of all params! This could only happen when the last saved param was a float. Also the realloc_ok initialization is not needed.
-
Beat Küng authored
It's used with real OS FD's.
-
Beat Küng authored
Some modules call this (and maybe in rare circumstances), which could lead to stack overflows. With our current headroom of >= 300bytes, 256 should be ok. This increases the export time from ~28ms to ~34ms in my case (on a Pixracer)
-