Python Library

jsk_apc2015_common.get_object_list()[source]

Returns the object name list for APC2015.

Parameters:None.
Returns:objects – List of object name.
Return type:list
jsk_apc2015_common.load_json(json_file)[source]

Load the json file which is interface for APC2015.

Parameters:json_file (str) – Path to the json file.
jsk_apc2015_common.visualize_bin_contents(bin_contents, work_order=None, extra_img_paths=None)[source]

Returns visualized image of bin contents.

Parameters:
  • bin_contents (dict) – contents of each bin.
  • work_order (dict) – target objects for each bin (default: None).
  • extra_img_paths (dict) – {object_name: img_path}
Returns:

kiva_pod_img – visualized image of listed objects over the Kiva Pod image.

Return type:

ndarray

jsk_apc2015_common.visualize_json(json_file)[source]

Visualize bin_contents and work_order with a json file

Parameters:json_file (str) – Path to the json file.
Returns:kiva_pod_img – visualized image of listed objects over the Kiva Pod image.
Return type:ndarray