ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI Class Reference

GUI to send events from User to logic state machine. More...

Inheritance diagram for aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI:
Inheritance graph
[legend]
Collaboration diagram for aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI:
Collaboration graph
[legend]

Public Member Functions

def __init__
 Create Qt GUI using the event file. More...
 
def get_row_col
 Automatically find the row and col to add the button to in a grid based on index of the button. More...
 
def poseCommandCallback
 Saves pose command and updates command display. More...
 
def poseCommandButtonCallback
 Publishes stored pose command after setting height from slider. More...
 
def updateHeight
 Updates height label based on slider value. More...
 
def updateStatus
 Generic placeholder function to update text box. More...
 

Static Public Member Functions

def add_arguments
 Notify rqt_gui that this plugin can parse these extra arguments. More...
 

Public Attributes

 event_trigger
 Create Event trigger. More...
 
 system_status_textbox
 Textbox to show sytem status. More...
 
 height_slider
 Height slider to adjust z coordinate for pose command. More...
 
 pose_command_container
 Container for pose event related objects: slide etc. More...
 
 pose_command_layout
 Pose command layout. More...
 
 pose_x
 x pose label to display position command from rviz to user More...
 
 pose_y
 y pose label to display position command from rviz to user More...
 
 pose_z
 z pose label to display position command from rviz to user More...
 
 send_pose_command_button
 Button to send the pose command to state machine as poseyaw event. More...
 
 pose_command
 Pose command container to store pose from Rviz and send to state machine. More...
 
 button_container
 Continer to store event triggering buttons. More...
 
 push_buttons
 List of push buttons to trigger events. More...
 
 button_layout
 Layout for the push buttons. More...
 

Detailed Description

GUI to send events from User to logic state machine.

Constructor & Destructor Documentation

def aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.__init__ (   self,
  context 
)

Create Qt GUI using the event file.

Member Function Documentation

def aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.add_arguments (   parser)
static

Notify rqt_gui that this plugin can parse these extra arguments.

def aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.get_row_col (   self,
  button_index,
  ncols 
)

Automatically find the row and col to add the button to in a grid based on index of the button.

def aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.poseCommandButtonCallback (   self)

Publishes stored pose command after setting height from slider.

def aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.poseCommandCallback (   self,
  pose 
)

Saves pose command and updates command display.

def aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.updateHeight (   self)

Updates height label based on slider value.

def aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.updateStatus (   self,
  status,
  text_box 
)

Generic placeholder function to update text box.

Member Data Documentation

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.button_container

Continer to store event triggering buttons.

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.button_layout

Layout for the push buttons.

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.event_trigger

Create Event trigger.

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.height_slider

Height slider to adjust z coordinate for pose command.

Todo:
Matt: Load slider settings from param file
aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.pose_command

Pose command container to store pose from Rviz and send to state machine.

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.pose_command_container

Container for pose event related objects: slide etc.

Todo:
Matt: Reset slider value based on current quad height
aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.pose_command_layout

Pose command layout.

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.pose_x

x pose label to display position command from rviz to user

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.pose_y

y pose label to display position command from rviz to user

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.pose_z

z pose label to display position command from rviz to user

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.push_buttons

List of push buttons to trigger events.

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.send_pose_command_button

Button to send the pose command to state machine as poseyaw event.

aerial_autonomy.aerial_autonomy_gui.EventTransmissionGUI.system_status_textbox

Textbox to show sytem status.


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