按照 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()
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句