wei.routers.admin_routes

Implements routes for the /admin commands

Functions

cancel_module(module_name)

Cancels a module

cancel_workcell()

Cancels the workcell

lock_module(module_name)

Locks a module

lock_workcell()

Locks the workcell

pause_module(module_name)

Pauses a module

pause_workcell()

Pauses the workcell

reset_module(module_name)

Resets a module

reset_workcell()

Resets the entire workcell

resume_module(module_name)

Resumes a module

resume_workcell()

Resumes the workcell

safety_stop_module(module_name)

Safety-stops a module

safety_stop_workcell()

Safety-stops a workcell

shutdown_module(module_name)

Shuts down a module

shutdown_workcell([modules])

Shuts down the workcell

unlock_module(module_name)

Unlocks a module

unlock_workcell()

Unlocks the workcell

wei.routers.admin_routes.cancel_module(module_name: str) None

Cancels a module

wei.routers.admin_routes.cancel_workcell() None

Cancels the workcell

wei.routers.admin_routes.lock_module(module_name: str) None

Locks a module

wei.routers.admin_routes.lock_workcell() None

Locks the workcell

wei.routers.admin_routes.pause_module(module_name: str) None

Pauses a module

wei.routers.admin_routes.pause_workcell() None

Pauses the workcell

wei.routers.admin_routes.reset_module(module_name: str) None

Resets a module

wei.routers.admin_routes.reset_workcell() None

Resets the entire workcell

wei.routers.admin_routes.resume_module(module_name: str) None

Resumes a module

wei.routers.admin_routes.resume_workcell() None

Resumes the workcell

wei.routers.admin_routes.safety_stop_module(module_name: str) None

Safety-stops a module

wei.routers.admin_routes.safety_stop_workcell() None

Safety-stops a workcell

wei.routers.admin_routes.shutdown_module(module_name: str) None

Shuts down a module

wei.routers.admin_routes.shutdown_workcell(modules: bool = False) None

Shuts down the workcell

wei.routers.admin_routes.unlock_module(module_name: str) None

Unlocks a module

wei.routers.admin_routes.unlock_workcell() None

Unlocks the workcell