按照 NAOqi 的文档,我可以通过执行以下命令来启动我的应用程序 tabService.showWebview("http://" + ip + "/apps/" + uid + "/index.html")
现在我想通过类似的方式远程终止/停止它。
有人知道吗?
非常感谢你!!
按照 NAOqi 的文档,我可以通过执行以下命令来启动我的应用程序 tabService.showWebview("http://" + ip + "/apps/" + uid + "/index.html")
现在我想通过类似的方式远程终止/停止它。
有人知道吗?
非常感谢你!!
我不认为你是通过调用 showWebView() 来启动你的应用程序的。您只需在平板电脑上显示网站。
现在,我为您看到了几个选项,具体取决于您的实际需求:
你想隐藏网站然后 ALTabletService API 提供方法hide
您想终止特定服务,然后您可以查看 ServiceManager API 方法stopService
您想阻止 Pepper 说话 ALTextToSpeech API 提供了stopAll函数,例如:
import naoqi from
naoqi import ALProxy
tts = ALProxy("ALTextToSpeech",IP, 9559)
tts.stopAll()