Classes | Functions | Variables
calibrate_pr2 Namespace Reference

Classes

class  CalibrateParallel
 
class  CalibrateSequence
 
class  HoldingController
 
class  StatusPub
 

Functions

def diagnostics (level, msg_short, msg_long)
 
def get_controller_name (joint_name)
 
def get_holding_name (joint_name)
 
def get_service_name (joint_name)
 
def joint_states_cb (msg)
 
def main ()
 
def motor_state_cb (msg)
 
def set_force_calibration (joint_name)
 

Variables

string calibration_params_namespace = "calibration_controllers"
 
bool force_calibration = False
 
dictionary hold_position
 
 last_joint_states = None
 
 list_controllers = rospy.ServiceProxy('pr2_controller_manager/list_controllers', ListControllers)
 
 load_controller = rospy.ServiceProxy('pr2_controller_manager/load_controller', LoadController)
 
 motors_halted = None
 
 pub_diag = rospy.Publisher('/diagnostics', DiagnosticArray, queue_size=10)
 
 switch_controller = rospy.ServiceProxy('pr2_controller_manager/switch_controller', SwitchController)
 
 unload_controller = rospy.ServiceProxy('pr2_controller_manager/unload_controller', UnloadController)
 

Function Documentation

def calibrate_pr2.diagnostics (   level,
  msg_short,
  msg_long 
)

Definition at line 95 of file calibrate_pr2.py.

def calibrate_pr2.get_controller_name (   joint_name)

Definition at line 67 of file calibrate_pr2.py.

def calibrate_pr2.get_holding_name (   joint_name)

Definition at line 73 of file calibrate_pr2.py.

def calibrate_pr2.get_service_name (   joint_name)

Definition at line 76 of file calibrate_pr2.py.

def calibrate_pr2.joint_states_cb (   msg)

Definition at line 81 of file calibrate_pr2.py.

def calibrate_pr2.main ( void  )

Definition at line 265 of file calibrate_pr2.py.

def calibrate_pr2.motor_state_cb (   msg)

Definition at line 88 of file calibrate_pr2.py.

def calibrate_pr2.set_force_calibration (   joint_name)

Definition at line 70 of file calibrate_pr2.py.

Variable Documentation

string calibrate_pr2.calibration_params_namespace = "calibration_controllers"

Definition at line 55 of file calibrate_pr2.py.

bool calibrate_pr2.force_calibration = False

Definition at line 65 of file calibrate_pr2.py.

dictionary calibrate_pr2.hold_position
Initial value:
1 = {'r_shoulder_pan': -0.7, 'l_shoulder_pan': 0.7, 'r_elbow_flex': -2.0,
2  'l_elbow_flex': -2.0, 'r_upper_arm_roll': 0.0, 'l_upper_arm_roll': 0.0,
3  'r_shoulder_lift': 1.0, 'l_shoulder_lift': 1.0}

Definition at line 61 of file calibrate_pr2.py.

calibrate_pr2.last_joint_states = None

Definition at line 80 of file calibrate_pr2.py.

calibrate_pr2.list_controllers = rospy.ServiceProxy('pr2_controller_manager/list_controllers', ListControllers)

Definition at line 59 of file calibrate_pr2.py.

calibrate_pr2.load_controller = rospy.ServiceProxy('pr2_controller_manager/load_controller', LoadController)

Definition at line 56 of file calibrate_pr2.py.

calibrate_pr2.motors_halted = None

Definition at line 87 of file calibrate_pr2.py.

calibrate_pr2.pub_diag = rospy.Publisher('/diagnostics', DiagnosticArray, queue_size=10)

Definition at line 94 of file calibrate_pr2.py.

calibrate_pr2.switch_controller = rospy.ServiceProxy('pr2_controller_manager/switch_controller', SwitchController)

Definition at line 58 of file calibrate_pr2.py.

calibrate_pr2.unload_controller = rospy.ServiceProxy('pr2_controller_manager/unload_controller', UnloadController)

Definition at line 57 of file calibrate_pr2.py.



pr2_bringup
Author(s): Wim Meeussen
autogenerated on Tue Jun 1 2021 02:50:59