Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
ur_driver.driver.URConnection Class Reference

List of all members.

Public Member Functions

def __init__
def connect
def disconnect
def ready_to_program
def send_program
def send_reset_program
def throttle_warn_unknown

Public Attributes

 hostname
 last_state
 port
 program
 robot_state
 IO-Support is EXPERIMENTAL.

Static Public Attributes

int CONNECTED = 1
int DISCONNECTED = 0
int EXECUTING = 3
int READY_TO_PROGRAM = 2
float TIMEOUT = 1.0

Private Member Functions

def __on_packet
def __run
def __trigger_disconnected
def __trigger_halted
def __trigger_ready_to_program

Private Attributes

 __buf
 __keep_running
 __sock
 __thread
 _last_hit

Detailed Description

Definition at line 123 of file driver.py.


Constructor & Destructor Documentation

def ur_driver.driver.URConnection.__init__ (   self,
  hostname,
  port,
  program 
)

Definition at line 131 of file driver.py.


Member Function Documentation

def ur_driver.driver.URConnection.__on_packet (   self,
  buf 
) [private]

Definition at line 187 of file driver.py.

def ur_driver.driver.URConnection.__run (   self) [private]

Definition at line 261 of file driver.py.

Definition at line 179 of file driver.py.

Definition at line 184 of file driver.py.

Definition at line 182 of file driver.py.

Definition at line 140 of file driver.py.

Definition at line 165 of file driver.py.

Definition at line 176 of file driver.py.

Definition at line 151 of file driver.py.

Definition at line 161 of file driver.py.

def ur_driver.driver.URConnection.throttle_warn_unknown (   self,
  period,
  msg 
)

Definition at line 254 of file driver.py.


Member Data Documentation

Definition at line 140 of file driver.py.

Definition at line 140 of file driver.py.

Definition at line 131 of file driver.py.

Definition at line 131 of file driver.py.

Definition at line 254 of file driver.py.

Definition at line 127 of file driver.py.

Definition at line 126 of file driver.py.

Definition at line 129 of file driver.py.

Definition at line 131 of file driver.py.

Definition at line 131 of file driver.py.

Definition at line 131 of file driver.py.

Definition at line 131 of file driver.py.

Definition at line 128 of file driver.py.

IO-Support is EXPERIMENTAL.

Notes:

  • Where are the flags coming from? Do we need flags? No, as 'prog' does not use them and other scripts are not running!
  • analog_input2 and analog_input3 are within ToolData
  • What to do with the different analog_input/output_range/domain?
  • Shall we have appropriate ur_msgs definitions in order to reflect MasterboardData, ToolData,...?

Definition at line 131 of file driver.py.

Definition at line 124 of file driver.py.


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


ur_driver
Author(s): Stuart Glaser, Shaun Edwards , Felix Messmer
autogenerated on Fri Aug 28 2015 13:31:30