rby1_sdk.create_robot#
- create_robot(address: str, model_name: Literal['a']) Robot_A[source]#
- create_robot(address: str, model_name: Literal['m']) Robot_M
- create_robot(address: str, model_name: Literal['ub']) Robot_UB
- create_robot(address: str, model_name: str) Robot_A | Robot_M | Robot_UB
Create a robot instance for a specific RB-Y1 model.
This function is a thin wrapper around the internal _bindings._create_robot and provides IDE/type checker support via overloads.
- Parameters:
- Returns:
Configured robot instance corresponding to the specified model.
- Return type:
- Raises:
RuntimeError – If the model name is unknown or unsupported.
See also
_bindings.create_robot_aDirectly create a Robot A instance.
_bindings.create_robot_mDirectly create a Robot M instance.
_bindings.create_robot_ubDirectly create a Robot UB instance.
Examples
>>> from rby1_sdk import create_robot >>> robot = create_robot("192.168.1.100:50051", "a")
>>> robot = create_robot("192.168.1.100:50051", "ub")