Public Member Functions | Public Attributes | List of all members
battery_monitor.battery_monitor Class Reference

Public Member Functions

def __init__ (self)
 
def power_callback (self, msg)
 
def say (self, text)
 
def set_light (self, mode, track=False)
 
def stop_light (self)
 
def timer_callback (self, event)
 

Public Attributes

 enable_light
 
 enable_sound
 
 is_charging
 
 last_time_power_received
 
 last_time_warned
 
 light_components
 
 mode
 
 num_leds
 
 power_state
 
 relative_remaining_capacity
 
 sound_components
 
 sound_critical
 
 sound_warning
 
 temperature
 
 threshold_critical
 
 threshold_error
 
 threshold_warning
 
 topic_name
 
 track_id_light
 

Detailed Description

Definition at line 32 of file battery_monitor.py.

Constructor & Destructor Documentation

◆ __init__()

def battery_monitor.battery_monitor.__init__ (   self)

Definition at line 34 of file battery_monitor.py.

Member Function Documentation

◆ power_callback()

def battery_monitor.battery_monitor.power_callback (   self,
  msg 
)

Definition at line 76 of file battery_monitor.py.

◆ say()

def battery_monitor.battery_monitor.say (   self,
  text 
)

Definition at line 117 of file battery_monitor.py.

◆ set_light()

def battery_monitor.battery_monitor.set_light (   self,
  mode,
  track = False 
)

Definition at line 80 of file battery_monitor.py.

◆ stop_light()

def battery_monitor.battery_monitor.stop_light (   self)

Definition at line 102 of file battery_monitor.py.

◆ timer_callback()

def battery_monitor.battery_monitor.timer_callback (   self,
  event 
)

Definition at line 122 of file battery_monitor.py.

Member Data Documentation

◆ enable_light

battery_monitor.battery_monitor.enable_light

Definition at line 46 of file battery_monitor.py.

◆ enable_sound

battery_monitor.battery_monitor.enable_sound

Definition at line 59 of file battery_monitor.py.

◆ is_charging

battery_monitor.battery_monitor.is_charging

Definition at line 38 of file battery_monitor.py.

◆ last_time_power_received

battery_monitor.battery_monitor.last_time_power_received

Definition at line 71 of file battery_monitor.py.

◆ last_time_warned

battery_monitor.battery_monitor.last_time_warned

Definition at line 70 of file battery_monitor.py.

◆ light_components

battery_monitor.battery_monitor.light_components

Definition at line 53 of file battery_monitor.py.

◆ mode

battery_monitor.battery_monitor.mode

Definition at line 40 of file battery_monitor.py.

◆ num_leds

battery_monitor.battery_monitor.num_leds

Definition at line 47 of file battery_monitor.py.

◆ power_state

battery_monitor.battery_monitor.power_state

Definition at line 35 of file battery_monitor.py.

◆ relative_remaining_capacity

battery_monitor.battery_monitor.relative_remaining_capacity

Definition at line 36 of file battery_monitor.py.

◆ sound_components

battery_monitor.battery_monitor.sound_components

Definition at line 60 of file battery_monitor.py.

◆ sound_critical

battery_monitor.battery_monitor.sound_critical

Definition at line 67 of file battery_monitor.py.

◆ sound_warning

battery_monitor.battery_monitor.sound_warning

Definition at line 68 of file battery_monitor.py.

◆ temperature

battery_monitor.battery_monitor.temperature

Definition at line 37 of file battery_monitor.py.

◆ threshold_critical

battery_monitor.battery_monitor.threshold_critical

Definition at line 44 of file battery_monitor.py.

◆ threshold_error

battery_monitor.battery_monitor.threshold_error

Definition at line 43 of file battery_monitor.py.

◆ threshold_warning

battery_monitor.battery_monitor.threshold_warning

Definition at line 42 of file battery_monitor.py.

◆ topic_name

battery_monitor.battery_monitor.topic_name

Definition at line 39 of file battery_monitor.py.

◆ track_id_light

battery_monitor.battery_monitor.track_id_light

Definition at line 48 of file battery_monitor.py.


The documentation for this class was generated from the following file:


cob_monitoring
Author(s): Florian Weisshardt , Felix Messmer
autogenerated on Tue May 2 2023 02:26:09