Synchronous client

SyncDobotClient subclasses ese774_frame.clients.sync_device_client.SyncDeviceClient. It forwards server_ip, server_port, object_name="dobot", and api_spec=None to the base client.

from dobot.server_fastapi import SyncDobotClient

client = SyncDobotClient(server_ip="127.0.0.1", server_port=8000)
print(client.get_current_position())
print(client.get_current_angle())
print(client.servo_on)

The client invokes server-side DobotCtrl over HTTP/JSON. Synchronous Python method invocation and the robot’s motion-completion behavior controlled by move(..., is_async=...) are different concepts.