-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to batt_smbus driver to add functionality and work with TI BQ40Z50-R1/R2 fuel gauge #8854
Closed
Closed
Changes from 1 commit
Commits
Show all changes
107 commits
Select commit
Hold shift + click to select a range
9292d09
Updates to batt_smbus.cpp to work with TI BQ40Z50-R1/R2
AlexKlimaj 6d37ee1
Removed includes
AlexKlimaj 7292b53
Fixed formatting
AlexKlimaj 7cfc4a5
Changed exit calls to returns
AlexKlimaj 08d08de
fixed NULL to nullptr
AlexKlimaj 10ecf67
readded PEC and added PEC option at startup
AlexKlimaj 3ced44b
Fixed PEC, added capacity to battery message, changed how total disch…
AlexKlimaj d7996b6
Merge remote-tracking branch 'upstream/master'
AlexKlimaj 4e9a932
Added Temperature, Run Time to Empty, and Cycle Count. Also added to …
AlexKlimaj 6be5a0a
Add AERT mixer
acfloria d63a803
updated sitl_gazebo: tailsitter fixes
RomanBapst 8ec1fb9
ROMFS: added mixer for tailsitter simulation
RomanBapst c22dc2b
CI: mission WP reached - satisfy based on mavros topics instead of di…
lamping7 80eca30
microRTPS_bridge: mark task as not running when running stop()
2517d38
printload: fix buffer overflow on NuttX
bkueng 13a3791
Send RTPS header and payload in one stream
Rjasuja 89b2fa2
microRTPS_transport.h: add clarifying comment for Transport_node::wri…
bkueng a04110c
Jenkins temporarily disable ROS vtol mission test old 3
dagar 12c3433
Add aerofc baudrate to list
avinash-palleti f9cb575
mavlink_receiver: add evh/evv to vision msg
da410cb
Expanded battery info mavlink driver
AlexKlimaj a272cbb
Included field timestamp for micrortps bridge messages.
2d5f82b
Added conversion from minutes to seconds to support seconds unit in m…
AlexKlimaj 37a0822
rc.interface: enable aux mixer for FMU-v5
bkueng f5bfabf
add obstacle_distance message
mrivi 883fb8c
CMakeLists: add obstacle_distance message
mrivi f932217
mavlink_receiver: decode obstacle_distance message
mrivi 4aeb70f
rcS move logger startup to rc.logging and end of init
dagar 458d8f7
fw_pos_control_l1 move to ModuleBase
dagar a1f6601
fw_pos_control_l1 consolidate message updates
dagar 1351625
Don't use ADSB messages with undefined fields in navigator (#8900)
svpcom a24a40c
Update CONTRIBUTING.md
LorenzMeier a6e863a
sitl_gazebo: updated submodule (#8917)
julianoes 4e45d79
commander remove gps receiver checks
dagar 2c7d450
mavlink EXTENDED_SYS_STATE initialize landed and vtol state
dagar ecf46b4
commander remove globallocalconverter
dagar 50e96b2
commander remove unused differential pressure check
dagar 71fef78
commander remove unused include
dagar 43c7f7e
commander remove vehicle_attitude usage
dagar 8fc659d
commander only copy actuator_controls if engine failure enabled
dagar 8d9e9d3
RC input: allow disabling the RC filtering via RC_FLT_CUTOFF
bkueng 4bf1980
MC_ROLL_P, MC_PITCH_P: increase maximum value to 12
bkueng 54d1395
IMU_GYRO_CUTOFF, IMU_ACCEL_CUTOFF: reduce minimum to 0, allowing to d…
bkueng ca9c3b1
mc_attitude_control: avoid using a static variable for last_run
bkueng f346b00
mc_att_control rate controller: use a butterworth lowpass filter on t…
bkueng 5b7c062
mc_att_control_main: remove unused _rates_sp_prev
bkueng 7b5b1c4
mc_att_control: update & reset d-term lowpass filter only when freque…
bkueng a35abf2
rename nuttx board support packages for consistecy (#8777)
dagar 559e2c2
fw_att_control move to ModuleBase
dagar 80de3f4
fw_att_control remove debug code
dagar 426f2cc
fw_att_control split header into separate file
dagar 1897b93
fw_att_control rename fw_att_control_main.cpp to match class
dagar 15fb60c
fw_att_control delete unused loop_counter
dagar 063714c
fw_att_control initialize all fields in header
dagar 97815df
uorb_graph update fw_att_control special case
dagar bf42964
fw_att_control don't store entire vehicle_land_detected message
dagar dcc4702
fw_att_control update params before poll
dagar 94b8e4a
fw_att_control remove commented warnings
dagar 7fa858a
fw_att_control only store battery_status scale
dagar 4cb71f2
fw_att_control centralize manual setpoint generation
dagar a0f115b
fw_att_control consolidate flaps code
dagar 19e706f
fw_att_control fix attitude setpoint publication
dagar abb067c
ecl: Use EKF version with external vision nav axis rotation bug fixes…
priseborough 4cac6d1
tune_control: added define for tune strength
julianoes 2a7e69f
Added battery warning checks and messages, commented out extra mavlin…
AlexKlimaj 3ef6bc7
Update CMakeLists for the drivers/imu directory.
mcsauder 86c472d
ROMFS sitl: added a mixer for the gazebo quad tiltrotor model
RomanBapst 2886fe8
posix-configs: added sitl startup script for gazebo quad tiltrotor model
RomanBapst e9c715f
pwm_out_sim: various fixes for tiltrotor simulation
RomanBapst ddb2dd8
simulator mavlink: support for quad tiltrotor mav type
RomanBapst 159834c
posix-configs: set tiltrotor transition parameters
RomanBapst a1f169f
updated sitl_gazebo for tiltrotor support
RomanBapst 10bf6a4
params cmd: be less verbose
RomanBapst 2549b70
pwm_out_sim, simulator_mavlink: fixed code style
RomanBapst 6a987b5
update submodule sitl_gazebo to include isinf() fix
ChristophTobler 29c60a1
mixer_group: do not clamp offset to arbitrary value
RomanBapst 04a89f7
mixer lib: added methods to fetch the active trim values
RomanBapst ea8db53
fmu: removed obsolete _trim_pwm member and implemented proper fetching
RomanBapst df7364d
Battery: Correct unit for capacity parameter
MaEtUgR 3917eb2
mavlink: don't send wrong time
julianoes 83ac743
Battery: move member initialization values to class declaration
MaEtUgR 611ab57
Battery: Fix estimate initialization
MaEtUgR e0b32a6
Update mavlink v2.0 submodule Sat Feb 24 02:43:15 EST 2018
91d6f35
Update jmavsim submodule Sat Feb 24 23:05:44 CST 2018
38e5a06
jMAVSim: update submodule again
julianoes f342ac5
fixed battery remaining capacity logic to handle 100% charge
AlexKlimaj 49e349c
updated sitl_gazebo: small tiltrotor fix to enable turns
RomanBapst 17cb5c4
hardfault_log: fix comment
bkueng 40675bd
logger: fix potential semaphore counter overflow
bkueng 11e3081
ecl: Fixes bug preventing use of GPS reported speed accuracy (#8981)
priseborough add2038
conversion: added rotation +45 degree in pitch
AndreasAntener ab9ee3a
conversion: added -45 deg pitch rotation
AndreasAntener 198708b
rotation: updated board rotation meta data
AndreasAntener ee2163c
vtol_att_control: prevent segfault when no command line args given
RomanBapst 4ea50ae
Updates to batt_smbus.cpp to work with TI BQ40Z50-R1/R2
AlexKlimaj bc8d6c1
Removed includes
AlexKlimaj a476ec4
Fixed formatting
AlexKlimaj 19efb17
Changed exit calls to returns
AlexKlimaj 194d457
fixed NULL to nullptr
AlexKlimaj f547719
readded PEC and added PEC option at startup
AlexKlimaj 0935f15
Fixed PEC, added capacity to battery message, changed how total disch…
AlexKlimaj ec029b1
Added Temperature, Run Time to Empty, and Cycle Count. Also added to …
AlexKlimaj 67e78c8
Expanded battery info mavlink driver
AlexKlimaj e93fa05
Added conversion from minutes to seconds to support seconds unit in m…
AlexKlimaj 30fb95f
Added battery warning checks and messages, commented out extra mavlin…
AlexKlimaj 53cd958
fixed battery remaining capacity logic to handle 100% charge
AlexKlimaj 14e0790
Merge branch 'master' of https://github.com/AlexKlimaj/Firmware
AlexKlimaj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed formatting
commit a476ec437a972c9c3e4969df61d279890486e139
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see why you did this, but I really think we need to find a better overall solution than having a low level battery driver subscribing to controller output like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, the sensors.cpp battery update process also relies on it.