Functions | |
| def | contact_mat |
Variables | |
| tuple | contact_msgs = hru.load_pickle('contact.pkl') |
| tuple | x = range(left.shape[1]) |
| def hai_sandbox.test02.contact_mat | ( | contact_msgs, | |
start_time = contact_msgs[0].header.stamp
times = np.array([c.header.stamp for c in contact_msgs]) - start_time
left, |
|||
right = zip(*[[list(c.l_finger_tip), list(c.r_finger_tip)] for c in contact_msgs], |
|||
left = np.matrix(left).T
right = np.matrix(right).T
return left, |
|||
| right, | |||
| times, | |||
| def, | |||
| find_contact_times, | |||
| left_mat, | |||
| right_mat, | |||
| times | |||
| ) |
| tuple hai_sandbox::test02::contact_msgs = hru.load_pickle('contact.pkl') |
| tuple hai_sandbox::test02::x = range(left.shape[1]) |