Functions | Variables
sr_example::fancy_touch_demo Namespace Reference

Functions

def read_tactile_values
def secuence_ff
 FUNCTION DEFINITIONS #.
def secuence_lf
def secuence_mf
def secuence_rf
def secuence_th
def zero_tactile_sensors

Variables

tuple c = Commander()
dictionary e_wr = {"WRJ1": 0, "WRJ2": 8}
dictionary ext_ff = {"FFJ0": 0, "FFJ3": 0, "FFJ4": 0}
dictionary ext_lf = {"LFJ0": 0, "LFJ3": 0, "LFJ4": 0}
dictionary ext_mf = {"MFJ0": 0, "MFJ3": 0, "MFJ4": 0}
dictionary ext_rf = {"RFJ0": 0, "RFJ3": 0, "RFJ4": 0}
dictionary ext_th_1 = {"THJ1": 10, "THJ2": 20, "THJ3": 5, "THJ4": 35, "THJ5": 25}
dictionary ext_th_2 = {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 0, "THJ5": 0}
dictionary ff2mf_ok
dictionary ff_ok
dictionary flex_ff = {"FFJ0": 180, "FFJ3": 90, "FFJ4": 0}
dictionary flex_lf = {"LFJ0": 180, "LFJ3": 90, "LFJ4": 0}
dictionary flex_mf = {"MFJ0": 180, "MFJ3": 90, "MFJ4": 0}
dictionary flex_rf = {"RFJ0": 180, "RFJ3": 90, "RFJ4": 0}
dictionary flex_th_1 = {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 70, "THJ5": 0}
dictionary flex_th_2 = {"THJ1": 20, "THJ2": 40, "THJ3": 10, "THJ4": 70, "THJ5": 58}
dictionary force_zero = {"FF": 0, "MF": 0, "RF": 0, "LF": 0, "TH": 0}
 MAIN #.
dictionary grasp_pos
dictionary l_ext_all = {"FFJ4": 15, "MFJ4": 15, "RFJ4": -15, "LFJ4": -15}
dictionary l_ext_ff = {"FFJ4": 15}
dictionary l_ext_lf = {"LFJ4": -15}
dictionary l_ext_mf = {"MFJ4": 15}
dictionary l_ext_rf = {"RFJ4": -15}
dictionary l_int_all = {"FFJ4": -15, "MFJ4": -15, "RFJ4": 15, "LFJ4": 15}
dictionary l_int_ff = {"FFJ4": -15}
dictionary l_int_lf = {"LFJ4": 15}
dictionary l_int_mf = {"MFJ4": -15}
dictionary l_int_rf = {"RFJ4": 15}
dictionary l_spock = {"FFJ4": -20, "MFJ4": -20, "RFJ4": -20, "LFJ4": -20}
dictionary l_zero_all = {"FFJ4": 0, "MFJ4": 0, "RFJ4": 0, "LFJ4": 0}
dictionary lf_ok
dictionary max_range
dictionary mf2rf_ok
dictionary mf_ok
dictionary min_range
 RANGES #.
dictionary n_wr = {"WRJ1": 15, "WRJ2": 0}
dictionary ne_wr = {"WRJ1": 15, "WRJ2": 8}
dictionary nw_wr = {"WRJ1": 15, "WRJ2": -14}
dictionary pre_ff_ok = {"THJ4": 70}
dictionary pregrasp_pos
dictionary rand_pos
dictionary rf2lf_ok
dictionary rf_ok
dictionary s_wr = {"WRJ1": -20, "WRJ2": 0}
dictionary se_wr = {"WRJ1": -20, "WRJ2": 8}
dictionary shake_grasp_1
dictionary shake_grasp_2
dictionary start_pos
 POSE DEFINITIONS #.
dictionary store_1_BioTac
dictionary store_1_PST
dictionary store_2_BioTac
dictionary store_2_PST
dictionary store_3 = {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 65, "THJ5": 0}
dictionary sw_wr = {"WRJ1": -20, "WRJ2": -14}
dictionary tactile_values = {"FF": 0, "MF": 0, "RF": 0, "LF": 0, "TH": 0}
dictionary w_wr = {"WRJ1": 0, "WRJ2": -14}
dictionary zero_th = {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 0, "THJ5": 0}
dictionary zero_wr = {"WRJ1": 0, "WRJ2": 0}

Function Documentation

Definition at line 688 of file fancy_touch_demo.py.

FUNCTION DEFINITIONS #.

Definition at line 246 of file fancy_touch_demo.py.

Definition at line 540 of file fancy_touch_demo.py.

Definition at line 478 of file fancy_touch_demo.py.

Definition at line 518 of file fancy_touch_demo.py.

Definition at line 636 of file fancy_touch_demo.py.

Definition at line 644 of file fancy_touch_demo.py.


Variable Documentation

Definition at line 26 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::e_wr = {"WRJ1": 0, "WRJ2": 8}

Definition at line 163 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::ext_ff = {"FFJ0": 0, "FFJ3": 0, "FFJ4": 0}

Definition at line 89 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::ext_lf = {"LFJ0": 0, "LFJ3": 0, "LFJ4": 0}

Definition at line 101 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::ext_mf = {"MFJ0": 0, "MFJ3": 0, "MFJ4": 0}

Definition at line 93 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::ext_rf = {"RFJ0": 0, "RFJ3": 0, "RFJ4": 0}

Definition at line 97 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::ext_th_1 = {"THJ1": 10, "THJ2": 20, "THJ3": 5, "THJ4": 35, "THJ5": 25}

Definition at line 107 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::ext_th_2 = {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 0, "THJ5": 0}

Definition at line 109 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 5, "THJ2": 12, "THJ3": -10, "THJ4": 60, "THJ5": 2,
00002             "FFJ0": 14, "FFJ3": 7, "FFJ4": -0.4,
00003             "MFJ0": 42, "MFJ3": 33, "MFJ4": -3,
00004             "RFJ0": 50, "RFJ3": 18, "RFJ4": 0.5,
00005             "LFJ0": 30, "LFJ3": 0, "LFJ4": -6, "LFJ5": 7}

Definition at line 121 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 15, "THJ2": 20, "THJ3": 0, "THJ4": 56, "THJ5": 11,
00002          "FFJ0": 75, "FFJ3": 65, "FFJ4": -0.2,
00003          "MFJ0": 42, "MFJ3": 33, "MFJ4": -3,
00004          "RFJ0": 50, "RFJ3": 18, "RFJ4": 0.5,
00005          "LFJ0": 30, "LFJ3": 0, "LFJ4": -6, "LFJ5": 7}

Definition at line 115 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::flex_ff = {"FFJ0": 180, "FFJ3": 90, "FFJ4": 0}

Definition at line 87 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::flex_lf = {"LFJ0": 180, "LFJ3": 90, "LFJ4": 0}

Definition at line 99 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::flex_mf = {"MFJ0": 180, "MFJ3": 90, "MFJ4": 0}

Definition at line 91 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::flex_rf = {"RFJ0": 180, "RFJ3": 90, "RFJ4": 0}

Definition at line 95 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::flex_th_1 = {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 70, "THJ5": 0}

Definition at line 103 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::flex_th_2 = {"THJ1": 20, "THJ2": 40, "THJ3": 10, "THJ4": 70, "THJ5": 58}

Definition at line 105 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::force_zero = {"FF": 0, "MF": 0, "RF": 0, "LF": 0, "TH": 0}

MAIN #.

Definition at line 718 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ2": 30, "THJ3": 15, "THJ4": 69, "THJ5": -3,
00002              "FFJ0": 77, "FFJ3": 67, "FFJ4": -19,
00003              "MFJ0": 82, "MFJ3": 62, "MFJ4": 0,
00004              "RFJ0": 89, "RFJ3": 64, "RFJ4": -18,
00005              "LFJ0": 97, "LFJ3": 64, "LFJ4": -19, "LFJ5": 0,
00006              "WRJ1": 0, "WRJ2": 0,
00007              "interpolation_time": 10.0}

Definition at line 71 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_ext_all = {"FFJ4": 15, "MFJ4": 15, "RFJ4": -15, "LFJ4": -15}

Definition at line 185 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_ext_ff = {"FFJ4": 15}

Definition at line 181 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_ext_lf = {"LFJ4": -15}

Definition at line 175 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_ext_mf = {"MFJ4": 15}

Definition at line 179 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_ext_rf = {"RFJ4": -15}

Definition at line 177 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_int_all = {"FFJ4": -15, "MFJ4": -15, "RFJ4": 15, "LFJ4": 15}

Definition at line 183 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_int_ff = {"FFJ4": -15}

Definition at line 187 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_int_lf = {"LFJ4": 15}

Definition at line 193 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_int_mf = {"MFJ4": -15}

Definition at line 189 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_int_rf = {"RFJ4": 15}

Definition at line 191 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_spock = {"FFJ4": -20, "MFJ4": -20, "RFJ4": -20, "LFJ4": -20}

Definition at line 197 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::l_zero_all = {"FFJ4": 0, "MFJ4": 0, "RFJ4": 0, "LFJ4": 0}

Definition at line 195 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 30, "THJ2": 8, "THJ3": 10, "THJ4": 69, "THJ5": 26,
00002          "FFJ0": 14, "FFJ3": 7, "FFJ4": -0.4,
00003          "MFJ0": 15, "MFJ3": 4, "MFJ4": -1,
00004          "RFJ0": 15, "RFJ3": 6, "RFJ4": 0.5,
00005          "LFJ0": 96, "LFJ3": 19, "LFJ4": -7, "LFJ5": 45}

Definition at line 151 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ2": 20, "THJ3": 12, "THJ4": 70, "THJ5": 0,
00002              "FFJ0": 110, "FFJ3": 90, "FFJ4": 0,
00003              "MFJ0": 110, "MFJ3": 90, "MFJ4": 0,
00004              "RFJ0": 110, "RFJ3": 90, "RFJ4": 0,
00005              "LFJ0": 110, "LFJ3": 90, "LFJ4": 0, "LFJ5": 1,
00006              "WRJ1": 10, "WRJ2": 5,
00007              "interpolation_time": 4.0}

Definition at line 42 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 5, "THJ2": -5, "THJ3": 15, "THJ4": 70, "THJ5": 19,
00002             "FFJ0": 14, "FFJ3": 7, "FFJ4": -0.4,
00003             "MFJ0": 45, "MFJ3": 4, "MFJ4": -1,
00004             "RFJ0": 50, "RFJ3": 18, "RFJ4": -19,
00005             "LFJ0": 30, "LFJ3": 0, "LFJ4": -12, "LFJ5": 7}

Definition at line 133 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 15, "THJ2": 18, "THJ3": 7, "THJ4": 66, "THJ5": 23,
00002          "FFJ0": 14, "FFJ3": 7, "FFJ4": -0.4,
00003          "MFJ0": 88, "MFJ3": 63, "MFJ4": 11,
00004          "RFJ0": 50, "RFJ3": 18, "RFJ4": -10,
00005          "LFJ0": 30, "LFJ3": 0, "LFJ4": -6, "LFJ5": 7}

Definition at line 127 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ2": -40, "THJ3": -12, "THJ4": 0, "THJ5": -55,
00002              "FFJ0": 20, "FFJ3": 0, "FFJ4": -20,
00003              "MFJ0": 20, "MFJ3": 0, "MFJ4": -10,
00004              "RFJ0": 20, "RFJ3": 0, "RFJ4": -10,
00005              "LFJ0": 20, "LFJ3": 0, "LFJ4": -20, "LFJ5": 0,
00006              "WRJ1": -20, "WRJ2": -10,
00007              "interpolation_time": 0.0}

RANGES #.

Definition at line 33 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::n_wr = {"WRJ1": 15, "WRJ2": 0}

Definition at line 159 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::ne_wr = {"WRJ1": 15, "WRJ2": 8}

Definition at line 167 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::nw_wr = {"WRJ1": 15, "WRJ2": -14}

Definition at line 169 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::pre_ff_ok = {"THJ4": 70}

Definition at line 113 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ2": 12, "THJ3": 15, "THJ4": 69, "THJ5": -23,
00002                 "FFJ0": 40, "FFJ3": 21, "FFJ4": -15,
00003                 "MFJ0": 40, "MFJ3": 21, "MFJ4": 0,
00004                 "RFJ0": 40, "RFJ3": 21, "RFJ4": -7,
00005                 "LFJ0": 40, "LFJ3": 21, "LFJ4": -10, "LFJ5": 0,
00006                 "WRJ1": 0, "WRJ2": 0}

Definition at line 64 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ2": 0, "THJ3": 0, "THJ4": 0, "THJ5": 0,
00002             "FFJ0": 0, "FFJ3": 0, "FFJ4": 0,
00003             "MFJ0": 0, "MFJ3": 0, "MFJ4": 0,
00004             "RFJ0": 0, "RFJ3": 0, "RFJ4": 0,
00005             "LFJ0": 0, "LFJ3": 0, "LFJ4": 0, "LFJ5": 0,
00006             "WRJ1": 0, "WRJ2": 0,
00007             "interpolation_time": 0.0}

Definition at line 79 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 5, "THJ2": 4.5, "THJ3": 8, "THJ4": 60, "THJ5": 21,
00002             "FFJ0": 14, "FFJ3": 7, "FFJ4": -0.4,
00003             "MFJ0": 45, "MFJ3": 4, "MFJ4": -1,
00004             "RFJ0": 30, "RFJ3": 6, "RFJ4": 0.5,
00005             "LFJ0": 30, "LFJ3": 0, "LFJ4": -10, "LFJ5": 7}

Definition at line 145 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 15, "THJ2": 5, "THJ3": 15, "THJ4": 70, "THJ5": 42,
00002          "FFJ0": 14, "FFJ3": 7, "FFJ4": -0.4,
00003          "MFJ0": 45, "MFJ3": 4, "MFJ4": -1,
00004          "RFJ0": 103, "RFJ3": 52, "RFJ4": -19,
00005          "LFJ0": 30, "LFJ3": 0, "LFJ4": -12, "LFJ5": 7}

Definition at line 139 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::s_wr = {"WRJ1": -20, "WRJ2": 0}

Definition at line 161 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::se_wr = {"WRJ1": -20, "WRJ2": 8}

Definition at line 173 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 0, "THJ2": 6, "THJ3": 10, "THJ4": 37, "THJ5": 9,
00002                  "FFJ0": 21, "FFJ3": 26, "FFJ4": 0,
00003                  "MFJ0": 18, "MFJ3": 24, "MFJ4": 0,
00004                  "RFJ0": 30, "RFJ3": 16, "RFJ4": 0,
00005                  "LFJ0": 30, "LFJ3": 0, "LFJ4": -10, "LFJ5": 10}

Definition at line 199 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 21, "THJ2": 21, "THJ3": 10, "THJ4": 42, "THJ5": 21,
00002                  "FFJ0": 75, "FFJ3": 29, "FFJ4": 0,
00003                  "MFJ0": 75, "MFJ3": 41, "MFJ4": 0,
00004                  "RFJ0": 75, "RFJ3": 41, "RFJ4": 0,
00005                  "LFJ0": 100, "LFJ3": 41, "LFJ4": 0, "LFJ5": 0}

Definition at line 205 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 0, "THJ5": 0,
00002              "FFJ0": 0, "FFJ3": 0, "FFJ4": 0,
00003              "MFJ0": 0, "MFJ3": 0, "MFJ4": 0,
00004              "RFJ0": 0, "RFJ3": 0, "RFJ4": 0,
00005              "LFJ0": 0, "LFJ3": 0, "LFJ4": 0, "LFJ5": 0,
00006              "WRJ1": 0, "WRJ2": 0}

POSE DEFINITIONS #.

Definition at line 57 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 30, "THJ5": 0,
00002                   "FFJ0": 180, "FFJ3": 90, "FFJ4": 0,
00003                   "MFJ0": 180, "MFJ3": 90, "MFJ4": 0,
00004                   "RFJ0": 180, "RFJ3": 90, "RFJ4": 0,
00005                   "LFJ0": 180, "LFJ3": 90, "LFJ4": 0, "LFJ5": 0,
00006                   "WRJ1": 0, "WRJ2": 0}

Definition at line 225 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 60, "THJ5": 0,
00002                "FFJ0": 180, "FFJ3": 90, "FFJ4": 0,
00003                "MFJ0": 180, "MFJ3": 90, "MFJ4": 0,
00004                "RFJ0": 180, "RFJ3": 90, "RFJ4": 0,
00005                "LFJ0": 180, "LFJ3": 90, "LFJ4": 0, "LFJ5": 0,
00006                "WRJ1": 0, "WRJ2": 0}

Definition at line 211 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 20, "THJ2": 36, "THJ3": 0, "THJ4": 30, "THJ5": -3,
00002                   "FFJ0": 180, "FFJ3": 90, "FFJ4": 0,
00003                   "MFJ0": 180, "MFJ3": 90, "MFJ4": 0,
00004                   "RFJ0": 180, "RFJ3": 90, "RFJ4": 0,
00005                   "LFJ0": 180, "LFJ3": 90, "LFJ4": 0, "LFJ5": 0,
00006                   "WRJ1": 0, "WRJ2": 0}

Definition at line 232 of file fancy_touch_demo.py.

Initial value:
00001 {"THJ1": 50, "THJ2": 12, "THJ3": 0, "THJ4": 60, "THJ5": 27,
00002                "FFJ0": 180, "FFJ3": 90, "FFJ4": 0,
00003                "MFJ0": 180, "MFJ3": 90, "MFJ4": 0,
00004                "RFJ0": 180, "RFJ3": 90, "RFJ4": 0,
00005                "LFJ0": 180, "LFJ3": 90, "LFJ4": 0, "LFJ5": 0,
00006                "WRJ1": 0, "WRJ2": 0}

Definition at line 218 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::store_3 = {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 65, "THJ5": 0}

Definition at line 239 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::sw_wr = {"WRJ1": -20, "WRJ2": -14}

Definition at line 171 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::tactile_values = {"FF": 0, "MF": 0, "RF": 0, "LF": 0, "TH": 0}

Definition at line 720 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::w_wr = {"WRJ1": 0, "WRJ2": -14}

Definition at line 165 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::zero_th = {"THJ1": 0, "THJ2": 0, "THJ3": 0, "THJ4": 0, "THJ5": 0}

Definition at line 111 of file fancy_touch_demo.py.

dictionary sr_example::fancy_touch_demo::zero_wr = {"WRJ1": 0, "WRJ2": 0}

Definition at line 157 of file fancy_touch_demo.py.



sr_example
Author(s): Ugo Cupcic
autogenerated on Fri Aug 21 2015 12:25:43