示例#1
0
 def move_acceleration(self, acceleration):
     status = kcdc.CC_SetVelParams(self._serialno, c_int(acceleration), c_int(self.move_velocity))
     check_error(status)
示例#2
0
 def move_velocity(self, velocity):
     status = kcdc.CC_SetVelParams(
         self._serialno,
         c_int(self._real_value_to_du(self.move_acceleration, 2)),
         c_int(self._real_value_to_du(velocity, 1)))
     check_error(status)