Functions | Variables
hai_sandbox::test03 Namespace Reference

Functions

def contact_mat
def find_contact_images
def find_contact_times
def get_closest_msgs
def group_by_first_el

Variables

tuple all_cam_times = group_by_first_el([[top, msg.header.stamp.to_time()] for top, msg, t in ru.bag_iter(fname_wide, [ws_l, ws_r])])
string cloud_top = '/full_cloud'
list fname = sys.argv[1]
list fname_wide = sys.argv[2]
string forearm_cam_l = '/l_forearm_cam/image_rect_color'
tuple msgs_dict = ru.bag_sel(fname, [press_lt, press_rt])
list press_lmsgs = [msg for top, msg, t in msgs_dict[press_lt]]
string press_lt = '/pressure/l_gripper_motor'
list press_rmsgs = [msg for top, msg, t in msgs_dict[press_rt]]
string press_rt = '/pressure/r_gripper_motor'
string ws_l = '/wide_stereo/left/image_rect_color'
string ws_r = '/wide_stereo/right/image_rect_color'

Function Documentation

def hai_sandbox.test03.contact_mat (   contact_msgs)
Returns:
mat, mat, array

Definition at line 15 of file test03.py.

def hai_sandbox.test03.find_contact_images (   bag_name,
  contact_times,
  all_times,
  topic_name 
)

Definition at line 53 of file test03.py.

def hai_sandbox.test03.find_contact_times (   left_mat,
  right_mat,
  times 
)
Returns:
array, array

Definition at line 27 of file test03.py.

def hai_sandbox.test03.get_closest_msgs (   fname,
  topics,
  times 
)

Definition at line 46 of file test03.py.

Definition at line 38 of file test03.py.


Variable Documentation

tuple hai_sandbox::test03::all_cam_times = group_by_first_el([[top, msg.header.stamp.to_time()] for top, msg, t in ru.bag_iter(fname_wide, [ws_l, ws_r])])

Definition at line 90 of file test03.py.

string hai_sandbox::test03::cloud_top = '/full_cloud'

Definition at line 82 of file test03.py.

Definition at line 73 of file test03.py.

Definition at line 74 of file test03.py.

string hai_sandbox::test03::forearm_cam_l = '/l_forearm_cam/image_rect_color'

Definition at line 79 of file test03.py.

Definition at line 86 of file test03.py.

Definition at line 96 of file test03.py.

string hai_sandbox::test03::press_lt = '/pressure/l_gripper_motor'

Definition at line 77 of file test03.py.

Definition at line 97 of file test03.py.

string hai_sandbox::test03::press_rt = '/pressure/r_gripper_motor'

Definition at line 78 of file test03.py.

string hai_sandbox::test03::ws_l = '/wide_stereo/left/image_rect_color'

Definition at line 80 of file test03.py.

string hai_sandbox::test03::ws_r = '/wide_stereo/right/image_rect_color'

Definition at line 81 of file test03.py.



hai_sandbox
Author(s): Hai Nguyen
autogenerated on Wed Nov 27 2013 11:46:56