Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame Class Reference

Classes. More...

Inheritance diagram for kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, parent=None)
 
def hibernate (self)
 Widget Management. More...
 
def on_angular_speed_spinbox_valueChanged (self, value)
 
def on_cmd_vel_topic_combo_box_currentIndexChanged (self, topic_name)
 External Slot Callbacks. More...
 
def on_start_button_clicked (self)
 Qt Callbacks. More...
 
def on_stop_button_clicked (self)
 
def restore (self)
 
def robot_state_callback (self, data)
 Ros Callbacks. More...
 
def setupUi (self, cmd_vel_topic_name)
 
def shutdown (self)
 

Public Attributes

 robot_state_subscriber
 

Private Member Functions

def _run_finished (self)
 Motion Callbacks. More...
 
def _stop (self)
 

Private Attributes

 _battery_topic_name
 
 _cmd_vel_topic_name
 
 _data_plot
 
 _motion
 
 _motion_thread
 
 _plot_layout
 
 _plot_widget
 
 _ui
 

Detailed Description

Classes.

Definition at line 35 of file battery_profile_frame.py.

Constructor & Destructor Documentation

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.__init__ (   self,
  parent = None 
)

Definition at line 36 of file battery_profile_frame.py.

Member Function Documentation

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._run_finished (   self)
private

Motion Callbacks.

Definition at line 94 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._stop (   self)
private

Definition at line 128 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.hibernate (   self)

Widget Management.

  This gets called when the frame goes out of focus (tab switch).
  Disable everything to avoid running N tabs in parallel when in
  reality we are only running one.

Definition at line 65 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.on_angular_speed_spinbox_valueChanged (   self,
  value 
)

Definition at line 145 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.on_cmd_vel_topic_combo_box_currentIndexChanged (   self,
  topic_name 
)

External Slot Callbacks.

  To be connected to the configuration dock combo box (via the main testsuite frame)

Definition at line 153 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.on_start_button_clicked (   self)

Qt Callbacks.

Definition at line 102 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.on_stop_button_clicked (   self)
  Hardcore stoppage - straight to zero.

Definition at line 122 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.restore (   self)
  Restore the frame after a hibernate.

Definition at line 75 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.robot_state_callback (   self,
  data 
)

Ros Callbacks.

Definition at line 164 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.setupUi (   self,
  cmd_vel_topic_name 
)

Definition at line 46 of file battery_profile_frame.py.

def kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.shutdown (   self)
  Used to terminate the plugin

Definition at line 54 of file battery_profile_frame.py.

Member Data Documentation

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._battery_topic_name
private

Definition at line 39 of file battery_profile_frame.py.

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._cmd_vel_topic_name
private

Definition at line 38 of file battery_profile_frame.py.

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._data_plot
private

Definition at line 84 of file battery_profile_frame.py.

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._motion
private

Definition at line 41 of file battery_profile_frame.py.

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._motion_thread
private

Definition at line 43 of file battery_profile_frame.py.

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._plot_layout
private

Definition at line 49 of file battery_profile_frame.py.

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._plot_widget
private

Definition at line 44 of file battery_profile_frame.py.

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame._ui
private

Definition at line 40 of file battery_profile_frame.py.

kobuki_qtestsuite.battery_profile_frame.BatteryProfileFrame.robot_state_subscriber

Definition at line 42 of file battery_profile_frame.py.


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


kobuki_qtestsuite
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:53:02