class documentation

A Tkinter GUI application integrated with asyncio for controlling a Dobot.

Method __init__ Undocumented
Instance Variable connection_status_label Undocumented
Instance Variable dobot Undocumented
Instance Variable loop Undocumented
Instance Variable root Undocumented
Instance Variable status_label Undocumented
Method _clear_alarms_cmd Button command for clearing Dobot alarms.
Method _connect_dobot_cmd Button command for connecting to Dobot.
Async Method _connect_dobot_task Asynchronous task to connect to the Dobot.
Method _get_pose_cmd Button command for getting Dobot's current pose.
Async Method _initial_connect Attempts to connect to Dobot on app startup.
Method _initial_connect_wrapper Wrapper to run _initial_connect as an asyncio task.
Method _negative_r Undocumented
Method _negative_x Undocumented
Method _negative_y Undocumented
Method _negative_z Undocumented
Method _positive_r Undocumented
Method _positive_x Undocumented
Method _positive_y Undocumented
Method _positive_z Undocumented
Method _schedule_dobot_task 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_joystick Undocumented
def __init__(self, root: tk.Tk, loop: asyncio.AbstractEventLoop, dobot_instance: DobotAsync): (source)

Undocumented

connection_status_label = (source)

Undocumented

Undocumented

Undocumented

Undocumented

status_label = (source)

Undocumented

def _clear_alarms_cmd(self): (source)

Button command for clearing Dobot alarms.

def _connect_dobot_cmd(self): (source)

Button command for connecting to Dobot.

async def _connect_dobot_task(self) -> bool: (source)

Asynchronous task to connect to the Dobot.

def _get_pose_cmd(self): (source)

Button command for getting Dobot's current pose.

async def _initial_connect(self): (source)

Attempts to connect to Dobot on app startup.

def _initial_connect_wrapper(self): (source)

Wrapper to run _initial_connect as an asyncio task.

def _negative_r(self): (source)

Undocumented

def _negative_x(self): (source)

Undocumented

def _negative_y(self): (source)

Undocumented

def _negative_z(self): (source)

Undocumented

def _positive_r(self): (source)

Undocumented

def _positive_x(self): (source)

Undocumented

def _positive_y(self): (source)

Undocumented

def _positive_z(self): (source)

Undocumented

def _schedule_dobot_task(self, task_coro: Awaitable[Any], description: str): (source)

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.

def _stop_joystick(self): (source)

Undocumented