BipedPlus API (Beta) / API Reference / Rig

flip()

下载 Markdown

对调这个绑定的左右姿势。没有参数。

没有 INFO,或这个 INFO 上没有节点,会 ValueError。应用失败会 RuntimeError。

签名

rig.flip() -> dict

返回值

成功时返回字典,里面有 flipped、skipped、message。success 为 False 时抛出 RuntimeError。

示例

from os_bipedPlus import openAPI

api = openAPI()
rig = api.scan()
result = rig.flip()
print(result.get("flipped"), result.get("message"))

💬

Need help with the API?

Open a support ticket or join the community discussion.

联系支持