YamahaRCXReadMotorStatus 方法 |
获取马达电源状态,返回的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 OperateResult<int> ReadMotorStatus()
Public Function ReadMotorStatus As OperateResult(Of Integer)
public:
OperateResult<int>^ ReadMotorStatus()
member ReadMotorStatus : unit -> OperateResult<int>
返回值
类型:
OperateResultInt32返回的0:马达电源关闭; 1:马达电源开启; 2:马达电源开启+所有机器人伺服开启
参见