get_robot_model()
Features
This is a command to read the model name of the robot.
Return
Value | Description |
---|---|
model name | Returns the model name in String type. "M1013", "M0617", "M0609", "M1509", "A0307", "A0307S", "A0509", "A0509S", "A0912", "A0912S" |
Example
model = get_robot_model()
if model =="M1013":
set_velj(30)
else:
set_velj(50)