19 Commits

Author SHA1 Message Date
Lorenz Meier
f3ee22b22c Battery lib: Set valid flag 2016-05-15 15:38:20 +02:00
sander
9a09c5af5c Add low pass filtered current draw 2016-05-10 21:34:11 +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
bbd2b763a3 Fix battery charge level filter 2016-05-05 16:13:58 +02:00
Lorenz Meier
6de02c460a Battery estimation: Widen thresholds and filter more 2016-05-03 12:35:35 +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
Lorenz Meier
3003ed8d40 Make battery failsafe limits configurable 2016-04-25 08:44:51 +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
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