Classes | Functions | Variables
driver Namespace Reference

Classes

class  CommanderTCPHandler
class  EOF
class  TCPServer
class  UR5Connection
class  UR5TrajectoryFollower

Functions

def dumpstacks
def get_segment_duration
def getConnectedRobot
def has_limited_velocities
def has_velocities
def interp_cubic
def joinAll
def load_joint_offsets
def log
def main
def reorder_traj_joints
def sample_traj
def setConnectedRobot
def traj_is_finite
def within_tolerance

Variables

 connected_robot = None
tuple connected_robot_cond = threading.Condition(connected_robot_lock)
tuple connected_robot_lock = threading.Lock()
list JOINT_NAMES
dictionary joint_offsets = {}
int MSG_JOINT_STATES = 3
int MSG_MOVEJ = 4
int MSG_OUT = 1
int MSG_QUIT = 2
int MSG_SERVOJ = 7
int MSG_STOPJ = 6
int MSG_WAYPOINT_FINISHED = 5
float MULT_blend = 1000.0
float MULT_jointstate = 10000.0
float MULT_time = 1000000.0
int PORT = 30002
 prevent_programming = False
tuple pub_joint_states = rospy.Publisher('joint_states', JointState)
list Q1 = [2.2,0,-1.57,0,0,0]
list Q2 = [1.5,0,-1.57,0,0,0]
list Q3 = [1.5,-0.2,-1.57,0,0,0]
string RESET_PROGRAM
int REVERSE_PORT = 50001

Function Documentation

Definition at line 60 of file driver.py.

def driver.get_segment_duration (   traj,
  index 
)

Definition at line 349 of file driver.py.

def driver.getConnectedRobot (   wait = False,
  timeout = -1 
)

Definition at line 215 of file driver.py.

Definition at line 412 of file driver.py.

def driver.has_velocities (   traj)

Definition at line 419 of file driver.py.

def driver.interp_cubic (   p0,
  p1,
  t_abs 
)

Definition at line 369 of file driver.py.

def driver.joinAll (   threads)

Definition at line 342 of file driver.py.

def driver.load_joint_offsets (   joint_names)

Definition at line 594 of file driver.py.

def driver.log (   s)

Definition at line 71 of file driver.py.

def driver.main ( )

Definition at line 608 of file driver.py.

def driver.reorder_traj_joints (   traj,
  joint_names 
)

Definition at line 356 of file driver.py.

def driver.sample_traj (   traj,
  t 
)

Definition at line 388 of file driver.py.

Definition at line 209 of file driver.py.

def driver.traj_is_finite (   traj)

Definition at line 402 of file driver.py.

def driver.within_tolerance (   a_vec,
  b_vec,
  tol_vec 
)

Definition at line 425 of file driver.py.


Variable Documentation

Definition at line 52 of file driver.py.

tuple driver::connected_robot_cond = threading.Condition(connected_robot_lock)

Definition at line 54 of file driver.py.

tuple driver::connected_robot_lock = threading.Lock()

Definition at line 53 of file driver.py.

Initial value:
00001 ['shoulder_pan_joint', 'shoulder_lift_joint', 'elbow_joint',
00002                'wrist_1_joint', 'wrist_2_joint', 'wrist_3_joint']

Definition at line 44 of file driver.py.

dictionary driver::joint_offsets = {}

Definition at line 28 of file driver.py.

Definition at line 35 of file driver.py.

Definition at line 36 of file driver.py.

int driver::MSG_OUT = 1

Definition at line 33 of file driver.py.

Definition at line 34 of file driver.py.

Definition at line 39 of file driver.py.

Definition at line 38 of file driver.py.

Definition at line 37 of file driver.py.

float driver::MULT_blend = 1000.0

Definition at line 42 of file driver.py.

float driver::MULT_jointstate = 10000.0

Definition at line 40 of file driver.py.

float driver::MULT_time = 1000000.0

Definition at line 41 of file driver.py.

int driver::PORT = 30002

Definition at line 30 of file driver.py.

Definition at line 21 of file driver.py.

tuple driver::pub_joint_states = rospy.Publisher('joint_states', JointState)

Definition at line 55 of file driver.py.

list driver::Q1 = [2.2,0,-1.57,0,0,0]

Definition at line 47 of file driver.py.

list driver::Q2 = [1.5,0,-1.57,0,0,0]

Definition at line 48 of file driver.py.

list driver::Q3 = [1.5,-0.2,-1.57,0,0,0]

Definition at line 49 of file driver.py.

Initial value:
00001 '''def resetProg():
00002   sleep(0.0)
00003 end
00004 '''

Definition at line 75 of file driver.py.

int driver::REVERSE_PORT = 50001

Definition at line 31 of file driver.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


ur5_driver
Author(s): Stuart Glaser
autogenerated on Mon Aug 19 2013 12:33:19