YamahaRCXReadMotorStatusAsync 方法 |
获取马达电源状态,返回的0:马达电源关闭; 1:马达电源开启; 2:马达电源开启+所有机器人伺服开启
Get the motor power status, return 0: motor power off; 1: motor power on; 2: motor power on + all robot servos on
命名空间:
HslCommunication.Robot.YAMAHA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<int>> ReadMotorStatusAsync()
Public Function ReadMotorStatusAsync As Task(Of OperateResult(Of Integer))
public:
Task<OperateResult<int>^>^ ReadMotorStatusAsync()
member ReadMotorStatusAsync : unit -> Task<OperateResult<int>>
返回值
类型:
TaskOperateResultInt32返回的0:马达电源关闭; 1:马达电源开启; 2:马达电源开启+所有机器人伺服开启
参见