Example #1
0
 public void SetCounterClockwiseComplianceSlope(byte servoId, ComplianceSlope complianceSlope, DynamixelProtocol protocol = DynamixelProtocol.Version1)
 {
     if (protocol != DynamixelProtocol.Version1)
     {
         throw new NotImplementedException();
     }
     WriteByte(servoId, ADDR_MX_CCW_COMPLIANCE_SLOPE, (byte)complianceSlope, protocol);
 }
Example #2
0
 public void SetComplianceSlope(byte servoId, ComplianceSlope complianceSlope, DynamixelProtocol protocol = DynamixelProtocol.Version1)
 {
     SetClockwiseComplianceSlope(servoId, complianceSlope, protocol);
     SetCounterClockwiseComplianceSlope(servoId, complianceSlope, protocol);
 }