SYMBOL INDEX (138 symbols across 15 files) FILE: cd_ws.py class CDWebSocket (line 21) | class CDWebSocket(): method __init__ (line 22) | def __init__(self, ns, port): method delete (line 29) | def delete(self): method sendto (line 33) | async def sendto(self, dat, s_addr): method recvfrom (line 44) | async def recvfrom(self, timeout=None): class CDWebSocketNS (line 49) | class CDWebSocketNS(): method __init__ (line 50) | def __init__(self, addr, def_route=None): FILE: html/dev_cmd.js function update_aux (line 13) | function update_aux() { function get_camera_cfg (line 22) | async function get_camera_cfg() { function set_camera_cfg (line 34) | async function set_camera_cfg(_detect=null, exposure=20) { function set_vision_cfg (line 46) | async function set_vision_cfg(debug=false) { function get_motor_pos (line 53) | async function get_motor_pos() { function set_motor_pos (line 63) | async function set_motor_pos(wait=0, speed=600000) { function get_pump_hw_ver (line 82) | async function get_pump_hw_ver() { function get_pump_pressure (line 90) | async function get_pump_pressure() { function check_suck_pressure (line 98) | async function check_suck_pressure(should_empty=false, threshold=-30) { function set_pump (line 116) | async function set_pump(val) { function pcb2xyz (line 125) | async function pcb2xyz(pcb, cam, x, y) { function z_keep_high (line 133) | async function z_keep_high(wait=0, speed=600000) { function enable_force (line 143) | async function enable_force() { function get_cv_cur (line 151) | async function get_cv_cur() { constant DIV_MM2PIXEL (line 160) | let DIV_MM2PIXEL = 10/344; function cam_comp_snap (line 162) | async function cam_comp_snap(times=3, max_err=0.02) { FILE: html/index.js function rotate_vector (line 81) | function rotate_vector(angle, vector) { function cal_grab_ofs (line 90) | function cal_grab_ofs(angle, err=null) { function init_ws (line 445) | function init_ws() { FILE: html/input_ctrl.js function disable_goto_btn (line 16) | function disable_goto_btn(val) { function auto_hide (line 23) | function auto_hide() { function csa_to_page_pos (line 53) | function csa_to_page_pos() function csa_to_page_input (line 63) | function csa_to_page_input() function csa_from_page_input (line 122) | function csa_from_page_input() function save_cfg (line 186) | async function save_cfg() { function input_change (line 195) | async function input_change() { function set_camera_en (line 327) | async function set_camera_en(enable) { function _set_camera_cfg (line 334) | async function _set_camera_cfg() { function set_camera_dev (line 337) | async function set_camera_dev() { function camera_update_bg (line 354) | async function camera_update_bg() function camera_remove_bg (line 361) | async function camera_remove_bg() function move_button (line 376) | async function move_button(val) function offset_apply (line 516) | function offset_apply() { function input_init (line 552) | function input_init() { FILE: html/pos_list.js function get_comp_values (line 14) | function get_comp_values(comp) function search_comp_parents (line 38) | function search_comp_parents(comp, set_color=false, color='') function search_next_comp (line 91) | function search_next_comp(comp) function search_current_comp (line 111) | function search_current_comp() function search_first_comp (line 124) | function search_first_comp() function get_comp_progress (line 133) | function get_comp_progress(comp) function select_comp (line 150) | function select_comp(comp) { function move_to_comp (line 198) | async function move_to_comp(comp) { function pos_to_page (line 233) | function pos_to_page(pos) { function pos_from_page (line 289) | function pos_from_page() { function csv_to_pos (line 311) | function csv_to_pos(csv) function set_board (line 373) | function set_board(idx) { function get_board_safe (line 380) | function get_board_safe() { function set_step (line 389) | function set_step(idx) { function get_step_safe (line 395) | function get_step_safe() { function set_comp_search (line 404) | function set_comp_search(idx) { function get_comp_search (line 410) | function get_comp_search() { function get_comp_safe (line 419) | function get_comp_safe() { FILE: html/preload_ctrl.js function pld_get_grid (line 14) | function pld_get_grid(idx) function pld_csa_to_page (line 38) | function pld_csa_to_page() function pld_csa_from_page (line 55) | function pld_csa_from_page() FILE: html/utils/cd_ws.js class CDWebSocket (line 16) | class CDWebSocket { method constructor (line 17) | constructor(ns, port) { method delete_ (line 25) | delete_() { method sendto (line 29) | async sendto(dat, s_addr) { method recvfrom (line 37) | async recvfrom(timeout=null) { method flush (line 41) | flush() { class CDWebSocketNS (line 47) | class CDWebSocketNS { method constructor (line 48) | constructor(addr, def_route=null) { FILE: html/utils/helper.js function sleep (line 7) | function sleep(ms) { function read_file (line 11) | async function read_file(file) { function load_img (line 23) | async function load_img(img, url) { function date2num (line 33) | function date2num() { function timestamp (line 39) | function timestamp() { function sha256 (line 45) | async function sha256(dat) { function aes256 (line 50) | async function aes256(dat, key, type='encrypt') { function dat2hex (line 60) | function dat2hex(dat, join='', le=false) { function hex2dat (line 67) | function hex2dat(hex, le=false) { function dat2str (line 75) | function dat2str(dat) { function str2dat (line 79) | function str2dat(str) { function val2hex (line 84) | function val2hex(val, fixed=4, prefix=false, upper=false, float=false) { function cpy (line 102) | function cpy(dst, src, list, map = {}) { class Queue (line 113) | class Queue { method constructor (line 114) | constructor() { method put (line 119) | put(t) { method get (line 125) | async get(timeout=null) { method size (line 147) | size() { method flush (line 150) | flush() { function download_url (line 158) | function download_url(data, fileName) { function download (line 169) | function download(data, fileName='dat.bin', mimeType='application/octet-... function escape_html (line 177) | function escape_html(unsafe) { function readable_size (line 186) | function readable_size(bytes, fixed=3, si=true) { function readable_float (line 202) | function readable_float(num, fixed=6, double=true) { function blob2dat (line 221) | async function blob2dat(blob) { function deep_merge (line 232) | function deep_merge(target, ...sources) { function csv_parser (line 247) | function csv_parser(str, delimiter ){ function wildcard_test (line 274) | function wildcard_test(str, wildcard) { FILE: html/utils/idb.js class Idb (line 7) | class Idb { method constructor (line 8) | constructor(db_name = 'cd', store_list = ['var', 'tmp']) { method trans (line 28) | trans(store_name, type) { method get (line 39) | async get(store_name, key) { method set (line 45) | async set(store_name, key, value) { method del (line 50) | async del(store_name, key) { method clear (line 55) | async clear(store_name) { method keys (line 60) | async keys(store_name) { method stores (line 67) | stores() { FILE: html/utils/lang.js function L (line 26) | function L(ori, mark=null) { FILE: pnp_cv.py function cv_get_pos (line 41) | def cv_get_pos(img, detect): function cv_get_circle (line 125) | def cv_get_circle(img, detect): function cv_get_pad (line 181) | def cv_get_pad(img, detect): function pic_rx (line 286) | def pic_rx(): function pnp_cv_start (line 370) | def pnp_cv_start(detect='default', local=True): FILE: pnp_main.py function equations (line 74) | def equations(p): function pcb2xyz (line 82) | def pcb2xyz(p, pcb): function update_coeff (line 88) | def update_coeff(): function dev_service (line 96) | async def dev_service(): function open_brower (line 207) | async def open_brower(): function start_loop (line 215) | def start_loop(): FILE: pnp_xyz.py function dbg_echo (line 31) | def dbg_echo(): function cd_info_rd (line 38) | def cd_info_rd(dev_addr, timeout=0.8, retry=3): function cd_reg_rw (line 53) | def cd_reg_rw(dev_addr, reg_addr, write=None, read=0, timeout=0.8, retry... function set_pump (line 74) | def set_pump(val): function get_pump_pressure (line 82) | def get_pump_pressure(): function enable_motor (line 90) | def enable_motor(): function load_pos (line 105) | def load_pos(mask=0xf): function wait_stop (line 151) | def wait_stop(): function wait_finish (line 160) | def wait_finish(axis, wait): function enable_force (line 173) | def enable_force(): function cal_accel (line 178) | def cal_accel(v): function goto_pos (line 185) | def goto_pos(pos, wait=0, s_speed=260000): function detect_origin (line 241) | def detect_origin(): function xyz_init (line 276) | def xyz_init(): FILE: tools/fw_cfg_update.py function invoke_cmd_r (line 41) | def invoke_cmd_r(cmd): function invoke_cmd (line 48) | def invoke_cmd(cmd): FILE: web_serve.py function http_file_server (line 22) | async def http_file_server(path, request): function ws_handler (line 51) | async def ws_handler(ws, path): function start_web (line 76) | async def start_web(addr='localhost', port=8900):