Variables
sr_print_joints_position Namespace Reference

Variables

 all_joints_state = hand_commander.get_joints_position()
 
 angle_type = args.angle_type
 
 anonymous
 
 args = parser.parse_args()
 
dictionary arm_joints_state
 
 dest
 
 hand_commander = SrHandCommander(hand_parameters=hand_parameters, hand_serial=hand_serial)
 
 hand_finder = HandFinder()
 
dictionary hand_joints_state
 
 hand_parameters = hand_finder.get_hand_parameters()
 
 hand_serial = hand_parameters.mapping.keys()[0]
 
 help
 
 parser
 
 prefix = hand_parameters.mapping.values()[0]
 
int scale = 1
 

Variable Documentation

sr_print_joints_position.all_joints_state = hand_commander.get_joints_position()

Definition at line 54 of file sr_print_joints_position.py.

sr_print_joints_position.angle_type = args.angle_type

Definition at line 38 of file sr_print_joints_position.py.

sr_print_joints_position.anonymous

Definition at line 29 of file sr_print_joints_position.py.

sr_print_joints_position.args = parser.parse_args()

Definition at line 36 of file sr_print_joints_position.py.

dictionary sr_print_joints_position.arm_joints_state
Initial value:
1 = {
2  k: (v * scale) for k, v in all_joints_state.items()
3  if k.startswith(prefix[0] + "a_") or k.startswith(prefix + "_W")}

Definition at line 60 of file sr_print_joints_position.py.

sr_print_joints_position.dest

Definition at line 35 of file sr_print_joints_position.py.

sr_print_joints_position.hand_commander = SrHandCommander(hand_parameters=hand_parameters, hand_serial=hand_serial)

Definition at line 50 of file sr_print_joints_position.py.

sr_print_joints_position.hand_finder = HandFinder()

Definition at line 41 of file sr_print_joints_position.py.

dictionary sr_print_joints_position.hand_joints_state
Initial value:
1 = {
2  k: (v * scale) for k, v in all_joints_state.items()
3  if k.startswith(prefix + "_")and not k.startswith(prefix + "_W")}

Definition at line 57 of file sr_print_joints_position.py.

sr_print_joints_position.hand_parameters = hand_finder.get_hand_parameters()

Definition at line 42 of file sr_print_joints_position.py.

sr_print_joints_position.hand_serial = hand_parameters.mapping.keys()[0]

Definition at line 44 of file sr_print_joints_position.py.

sr_print_joints_position.help

Definition at line 35 of file sr_print_joints_position.py.

sr_print_joints_position.parser
Initial value:
1 = argparse.ArgumentParser(description='A script to print hand and arm joint positions. ',
2  add_help=True, usage='%(prog)s [-h] --angle_type ANGLE_TYPE',
3  formatter_class=argparse.RawTextHelpFormatter)

Definition at line 31 of file sr_print_joints_position.py.

sr_print_joints_position.prefix = hand_parameters.mapping.values()[0]

Definition at line 43 of file sr_print_joints_position.py.

int sr_print_joints_position.scale = 1

Definition at line 45 of file sr_print_joints_position.py.



sr_example
Author(s): Ugo Cupcic
autogenerated on Wed Oct 14 2020 04:05:12