class documentation
A Tkinter GUI application integrated with asyncio for controlling a Dobot.
Method | __init__ |
Undocumented |
Instance Variable | connection |
Undocumented |
Instance Variable | dobot |
Undocumented |
Instance Variable | loop |
Undocumented |
Instance Variable | root |
Undocumented |
Instance Variable | status |
Undocumented |
Method | _clear |
Button command for clearing Dobot alarms. |
Method | _connect |
Button command for connecting to Dobot. |
Async Method | _connect |
Asynchronous task to connect to the Dobot. |
Method | _get |
Button command for getting Dobot's current pose. |
Async Method | _initial |
Attempts to connect to Dobot on app startup. |
Method | _initial |
Wrapper to run _initial_connect as an asyncio task. |
Method | _negative |
Undocumented |
Method | _negative |
Undocumented |
Method | _negative |
Undocumented |
Method | _negative |
Undocumented |
Method | _positive |
Undocumented |
Method | _positive |
Undocumented |
Method | _positive |
Undocumented |
Method | _positive |
Undocumented |
Method | _schedule |
Helper to schedule an asynchronous Dobot task and update the GUI status. This method is called from the Tkinter thread, so it uses call_soon_threadsafe to run the wrapper coroutine in the asyncio loop's thread. |
Method | _stop |
Undocumented |
def __init__(self, root:
tk.Tk
, loop: asyncio.AbstractEventLoop
, dobot_instance: DobotAsync
):
(source)
¶
Undocumented