Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Num ClassDef bases body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return Num orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs Call AttributeLoad NameLoad attr NameLoad body Return Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Pass Expr Call AttributeLoad NameLoad attr Str Return Num decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A os N/A sys N/A logging N/A argparse N/A ui.controller core_kernel FishPiKernel localconfig FishPiConfig N/A FISH_PI_VERSION 0.2 FishPiRunMode N/A N/A N/A Inactive inactive N/A Local local N/A Manual manual N/A Remote remote N/A Auto auto N/A Modes N/A Inactive Local Manual Remote Auto N/A FishPi N/A N/A N/A  Entrypoint and setup class.  N/A selected_mode N/A FishPiRunMode Manual N/A config N/A FishPiConfig __init__ N/A N/A self N/A N/A N/A parser N/A N/A argparse ArgumentParser description FishPi - An autonomous drop in the ocean. N/A N/A N/A parser add_argument -m --mode help operational mode to run choices N/A FishPiRunMode Modes default N/A FishPiRunMode Local type str action store N/A N/A N/A parser add_argument -d --debug help increase debugging information output action store_true N/A N/A N/A parser add_argument --version action version version N/A N/A %(prog)s {0} format FISH_PI_VERSION N/A N/A N/A parser add_argument -s --server help server for remote device default raspberrypi.local type str action store N/A N/A N/A parser add_argument -dp --devport help port for device rpc default 2040 type int action store N/A N/A N/A parser add_argument -cp --camport help port for camera stream default 8001 type int action store N/A selected_args N/A N/A parser parse_args N/A N/A self selected_mode N/A selected_args mode N/A N/A self debug N/A selected_args debug N/A N/A N/A self config server_name N/A selected_args server N/A N/A N/A self config rpc_port N/A selected_args devport N/A N/A N/A self config camera_port N/A selected_args camport N/A N/A N/A logging info N/A N/A FISHPI:	Initializing FishPi (v{0})... format FISH_PI_VERSION N/A N/A N/A N/A N/A sys path append N/A N/A os getcwd self_check N/A N/A self N/A N/A N/A N/A N/A logging info FISHPI:	Checking last running state... N/A N/A N/A logging info FISHPI:	Checking sufficient power... N/A configure_devices N/A N/A self N/A N/A N/A  Configures eg i2c and other attached devices. N/A N/A N/A N/A self config configure_devices N/A self debug N/A run N/A N/A self N/A N/A N/A  Runs selected FishPi mode. N/A N/A N/A logging info N/A N/A FISHPI:	Starting FishPi in mode: {0} format N/A self selected_mode N/A N/A N/A self selected_mode N/A FishPiRunMode Inactive N/A N/A N/A N/A logging info FISHPI:	Inactive mode set - exiting. N/A 0 N/A N/A N/A N/A self selected_mode N/A FishPiRunMode Local N/A N/A N/A N/A self run_ui N/A N/A N/A N/A self selected_mode N/A FishPiRunMode Manual N/A N/A N/A N/A self run_ui N/A N/A N/A N/A self selected_mode N/A FishPiRunMode Remote N/A N/A N/A N/A self run_headless N/A N/A N/A N/A self selected_mode N/A FishPiRunMode Auto N/A N/A N/A N/A self run_auto N/A N/A N/A N/A logging error FISHPI:	Invalid mode! Exiting. N/A 1 N/A run_ui N/A N/A self N/A N/A N/A  Runs in UI mode.  N/A N/A N/A self selected_mode N/A FishPiRunMode Local N/A N/A N/A N/A self configure_devices N/A kernel N/A FishPiKernel N/A self config debug N/A self debug N/A N/A N/A logging info FISHPI:	Launching UI... N/A N/A N/A N/A ui controller run_main_view_tk kernel N/A N/A N/A logging info FISHPI:	Program complete - exiting. N/A N/A N/A N/A logging info FISHPI:	Launching UI... N/A N/A N/A N/A ui controller run_main_view_wx N/A self config N/A N/A N/A logging info FISHPI:	Program complete - exiting. N/A 0 N/A run_headless N/A N/A self N/A N/A N/A  Runs in headless (manual) mode.  N/A N/A N/A N/A self configure_devices False N/A N/A 1 N/A kernel N/A FishPiKernel N/A self config debug N/A self debug N/A N/A N/A kernel list_devices N/A N/A N/A logging info FISHPI:	Waiting for commands... N/A web.webhost N/A N/A N/A N/A web webhost run_main_host kernel N/A N/A self config rpc_port N/A N/A N/A logging info FISHPI:	Program complete - exiting. N/A 0 N/A run_auto N/A N/A self N/A N/A N/A  Runs in full auto mode.  N/A N/A N/A self configure_devices N/A kernel N/A FishPiKernel N/A self config debug N/A self debug N/A N/A N/A kernel list_devices N/A N/A N/A logging info FISHPI:	Running autonomous scripts... N/A N/A N/A N/A logging info FISHPI:	No autonomous scripts implemented - exiting. N/A 0 N/A N/A main N/A N/A N/A N/A N/A fishPi N/A FishPi N/A N/A N/A fishPi self_check N/A N/A N/A fishPi run N/A N/A N/A __name__ __main__ N/A N/A status N/A main N/A N/A N/A sys exit status