public class BodyActonReqImpl extends BaseClientReq implements IBodyActionReq
构造器和说明 |
---|
BodyActonReqImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
action(int bodyPart,
int action)
肢体动作
|
void |
actionNew(int part,
int direction,
int angle,
int speed) |
void |
closeDoubleDoor(OnDoubleDoorStateListener listener)
双门关门
|
void |
getDoubleDoorState(OnDoubleDoorStateListener listener) |
void |
openDoubleDoor(OnDoubleDoorStateListener listener)
双门开门
|
void |
reset()
重置
|
void |
startDance()
开始跳舞
|
void |
startWaveHands(int intervalTime)
机器人开始左右摆手
|
void |
stopDance()
停止跳舞
|
void |
stopWaveHands()
机器人停止左右摆手
|
getBodyActionJson, getChassisJson, getExpressionJson, getHotWordJson, getJson, getJson, getJson, getJson, getJson, getJsonFromJsonContent, getNewBodyActionJson, sendReq, setDirectListener
public void reset()
IBodyActionReq
reset
在接口中 IBodyActionReq
public void actionNew(int part, int direction, int angle, int speed)
actionNew
在接口中 IBodyActionReq
public void action(int bodyPart, int action)
IBodyActionReq
action
在接口中 IBodyActionReq
bodyPart
- 肢体部位action
- 动作public void startWaveHands(int intervalTime)
IBodyActionReq
startWaveHands
在接口中 IBodyActionReq
public void stopWaveHands()
IBodyActionReq
stopWaveHands
在接口中 IBodyActionReq
public void startDance()
IBodyActionReq
startDance
在接口中 IBodyActionReq
public void stopDance()
IBodyActionReq
stopDance
在接口中 IBodyActionReq
public void openDoubleDoor(OnDoubleDoorStateListener listener)
IBodyActionReq
openDoubleDoor
在接口中 IBodyActionReq
public void closeDoubleDoor(OnDoubleDoorStateListener listener)
IBodyActionReq
closeDoubleDoor
在接口中 IBodyActionReq
public void getDoubleDoorState(OnDoubleDoorStateListener listener)
getDoubleDoorState
在接口中 IBodyActionReq