同期クライアント
SyncDobotClient は ese774_frame.clients.sync_device_client.SyncDeviceClient の派生クラスです。通信先は server_ip と server_port で指定し、object_name="dobot" と api_spec=None を親クラスに渡します。
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)
このクライアントは HTTP/JSON でサーバー側の DobotCtrl を呼び出します。Python メソッドの同期呼び出しと、ロボットの move(..., is_async=...) による移動完了待ちは別の概念です。