Mark Whitehorn
c626f5b001
shorten pwm init and ramp times
2016-05-19 22:14:29 +02:00
Daniel Agar
2487dbfc92
remove Wpacked and cleanup unused warning flags
2016-05-19 21:49:34 +02:00
Lorenz Meier
f3ee22b22c
Battery lib: Set valid flag
2016-05-15 15:38:20 +02:00
Daniel Agar
9c32792017
param_test link libmsg_gen
2016-05-14 11:27:07 +02:00
Daniel Agar
4e0129275d
new logger
2016-05-14 11:27:07 +02:00
Daniel Agar
76387b1693
uorb autogeneration
2016-05-14 11:27:07 +02:00
Daniel Agar
0ee801df20
system_params.c param metadata
2016-05-13 21:15:38 -04:00
Daniel Agar
d85e7732b4
fix param_test
2016-05-13 13:01:42 +02:00
Daniel Agar
8e130c878c
system_params.c param metadata
2016-05-11 12:30:06 -04:00
Daniel Agar
845b4c032c
battery_params.c param metadata
2016-05-11 12:30:04 -04:00
sander
29dd1ad47a
Code style
2016-05-10 21:34:11 +02:00
sander
9a09c5af5c
Add low pass filtered current draw
2016-05-10 21:34:11 +02:00
Lorenz Meier
c5a6442ce6
Perf print: Fix division by zero
2016-05-09 09:03:30 +02:00
Lorenz Meier
ebaca071f6
Battery charge estimation: Factor in voltage drop for idle props
2016-05-06 18:14:34 +02:00
Lorenz Meier
2e23d01b60
Systemlib: harden perf counter handling for null ptrs
2016-05-05 20:07:48 +02:00
Lorenz Meier
bbd2b763a3
Fix battery charge level filter
2016-05-05 16:13:58 +02:00
Lorenz Meier
2801a54544
Snapdragon param build fix
2016-05-05 14:15:25 +02:00
Lorenz Meier
192510ee1c
FMUv4 compile fix
2016-05-05 14:09:03 +02:00
Lorenz Meier
6de02c460a
Battery estimation: Widen thresholds and filter more
2016-05-03 12:35:35 +02:00
Lorenz Meier
4c61f52269
Code style fixes
2016-05-03 11:42:28 +02:00
Lorenz Meier
ff3e17df0d
Systemlib: Add FW and OS versioning
2016-05-03 11:39:39 +02:00
Lorenz Meier
05885e4e5f
Add support to enable FrSky telemetry on TELEM2
2016-04-30 12:00:56 +02:00
Lorenz Meier
bf0ea86bd9
Fix battery params to better defaults
2016-04-29 20:34:32 +02:00
Lorenz Meier
18b72241ce
System params: Update choices for ESP8266
2016-04-29 14:58:41 +02:00
Lorenz Meier
567364317a
Fix formatting in battery
2016-04-29 11:16:41 +02:00
Lorenz Meier
1b133931a6
Battery charge estimation: Refactor the filtering strategy and move it to the backend, doing integration before and filtering the resulting charge estimate
2016-04-29 11:05:44 +02:00
Lorenz Meier
3345a586d2
Battery: Initialize lowpass value properly
2016-04-28 13:24:53 +02:00
Lorenz Meier
a676af3d42
Battery: Deal with symmetric throttle
2016-04-28 13:05:44 +02:00
Julian Oes
e3c9135ac2
param_shmem: fix bug where params didn't stick
...
There was the case where a param was changed on the Linux side but the
change did not get saved on the DSP side because the param was not in
the local list of changed params on the DSP side. On save, the param
index is now refreshed, and param_get is called on all params that have
changed. This is a hacky workaround but resolves the problem for now.
2016-04-26 10:21:01 +02:00
Julian Oes
1cf7de8fdb
perf_counter: perf_print_counter now works on QURT
2016-04-25 12:48:48 +02:00
Julian Oes
662c097803
perf_counter: add function to set a count
...
This needed the set function which sets elapsed to change the name to
avoid ambiguities.
2016-04-25 12:48:48 +02:00
Lorenz Meier
faa85a2eba
Battery: Add proper units
2016-04-25 09:36:28 +02:00
Lorenz Meier
fd9978c805
Battery: Trigger RTL a little later
2016-04-25 08:44:51 +02:00
Lorenz Meier
3003ed8d40
Make battery failsafe limits configurable
2016-04-25 08:44:51 +02:00
Julian Oes
a302e79bb6
param_shmem: be less chatty, printf cleanup
2016-04-24 20:03:10 +02:00
Lorenz Meier
1ecfaff6ea
Fix up power consumption estimation
2016-04-23 17:51:24 +02:00
Lorenz Meier
b402cd9336
Battery: Fix code style
2016-04-23 15:51:44 +02:00
Lorenz Meier
ba817c7e45
Battery handling: Make critical state accessible
2016-04-23 15:47:20 +02:00
Lorenz Meier
4b0f1a6fb1
Battery lib: Fix interfaces and params
2016-04-23 14:25:21 +02:00
Lorenz Meier
c2f88c78b4
Fix battery current integration issue
2016-04-21 21:32:18 +02:00
Mark Whitehorn
f097e118df
assign timestamp
2016-04-19 21:19:44 +02:00
Gustavo Jose de Sousa
955af32b1c
systemlib: properly check for MULT_COUNT value
...
Checking with preprocessor directives doesn't have any effect because
MULT_COUNT is an enum value rather than a macro. Thus, since MULT_COUNT is
undefined from the preprocessor perspective, even if the number of items in
`enum MULT_PORTS` (except MULT_COUNT) was greater than 33, the error wouldn't
be raised.
2016-04-18 11:38:28 +02:00
James Goppert
f73af95b38
Added SYS_MC_EST_GROUP to allow fine grained algorithm selection.
2016-04-14 15:22:25 -04:00
Julian Oes
22847e49e7
param_shmem: fix style
2016-04-12 13:15:50 +02:00
Julian Oes
9cfffc9747
param_shmem: do fsync after param write
2016-04-12 13:15:50 +02:00
Julian Oes
4ddd1bbf03
battery: fix segfault
...
The name was set NULL which lead to a segfault on POSIX.
2016-04-11 18:01:47 +02:00
Julian Oes
1cc43a00d6
battery: astyle
2016-04-11 18:01:47 +02:00
Julian Oes
32c3135788
commander: move battery calculations to systemlib
...
The commander used to consume the battery_status topic and write the
contents after some calculations into the system state. Instead, the
calculations now happen in library calls in systemlib/battery.
This moves the battery fields out of the vehicle_status message into the
battery_status topic.
This brought quite some changes in all modules that need battery
information. The current state is compiling but untested.
2016-04-11 18:01:47 +02:00
tumbili
2f7601370b
mixer multirotor: initialise min_out with correct value
2016-04-11 17:47:40 +02:00
Beat Küng
215aa78f30
fix coding style for gps drivers
2016-04-11 11:23:01 +02:00