Added TI ina226 I2C power monitor (#11755)

This commit is contained in:
David Sidrane
2019-05-17 13:33:48 -04:00
committed by Daniel Agar
parent d78a842ca8
commit ed8c6019d5
6 changed files with 1031 additions and 0 deletions
+1
View File
@@ -88,6 +88,7 @@ set(msg_files
position_setpoint.msg
position_setpoint_triplet.msg
power_button_state.msg
power_monitor.msg
pwm_input.msg
qshell_req.msg
qshell_retval.msg
+15
View File
@@ -0,0 +1,15 @@
# power monitor message
uint64 timestamp # Time since system start (microseconds)
float32 voltage_v # Voltage in volts, 0 if unknown
float32 current_a # Current in amperes, -1 if unknown
float32 power_w # power in watts, -1 if unknown
int16 rconf
int16 rsv
int16 rbv
int16 rp
int16 rc
int16 rcal
int16 me
int16 al