发布于 2015-03-20 09:00:56
1楼
我在手册里找到了下面这段话
Canceling active and pending synchronous operations
If gearing or camming is active and another gearing or camming operation is started, the first
_disableCamming()/_disableGearing() command ends the synchronous operation to be
synchronized, and the second _disableCamming()/_disableGearing() command ends the
active synchronous operation.
大概的意思我能看明白,但是我想知道,如果只进行了第一个_disableCamming ,也就是同步对象的syncstate会转为NO,但是state仍保持Camming,和按照手册进行2次_disableCamming 使state转为inactive
这2种情况的区别在实际应用中会已什么形式表现出来?
其实下面还有段英文提到了_cancelFollowingObjectCommand()指令,上面的问题是不是也可以这样问,
脱离凸轮同步的时候,什么情况使用_disablecamming,什么情况使用_cancelFollowingObjectCommand。