且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PEPPER(软银机器人):我如何发送“外部"文件?数据(例如,传感器)到 Coregraphe 软件?

更新时间:2023-11-19 12:17:58

ALMemory 将是这样做的标准方法.您可以从 Python、javascript 或命令行调用它,例如

ALMemory would be the standard way of doing that. You can call it from Python, javascript or the command line, for example

qicli 调用 ALMemory.raiseEvent MyCustomEvent MyValue

qicli call ALMemory.raiseEvent MyCustomEvent MyValue

然后您可以在 Choregraphe 中查看此 ALMemory 值,例如参见本教程:

You can then watch this ALMemory value in Choregraphe, for example see this tutorial:

https://developer.softbankrobotics.com/pepper-naoqi-25/naoqi-developer-guide/other-tutorials/choregraphe-tutorials/creating-python-boxes#choregraphe-tuto-右保险杠记忆

您也可以直接在 Python 或 Javascript(或 C++ 等)中查看此值

You can also watch this value directly in Python or Javascript (or C++ etc.)