-
如果希望叮当开机自启前自动升级,可以用以下文件内容替代已有的"dingdang.sh"文件中的内容。
对于希望以root身份启动叮当的用户:
`dingdang-AutoUpdate-Launcher-for-root-User.sh`
> #!/bin/bash
> sleep 1
>
> #Delete Cache
> sudo rm -r /root/.cache
…
-
想在Ubuntu Touch 上运行这个项目,完全按照手动安装的步骤来的,中途也没有出错。
python dingdang.py之后,ubuntu touch就死机重启了。。。
phablet@ubuntu-phablet:~/dingdang$ python dingdang.py
**************************************************…
-
运行 dingdang.py 抛出异常
```
Traceback (most recent call last):
File "dingdang.py", line 12, in
from client import stt
File "/home/sparkle/dingdang-robot/client/stt.py", line 22, in
fro…
-
运行python dingdang.py显示如下,麻烦wzpan帮忙看下,谢谢!
/usr/local/lib/python2.7/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.3.0) doesn't match a supported versi…
-
pi@raspberrypi:~/workspace/dingdang $ python dingdang.py
*******************************************************"
* 叮当 - 中文语音对话机器人 *
* (c) 2017 潘伟洲 …
-
![default](https://user-images.githubusercontent.com/4144747/37557721-ed3c711c-2a43-11e8-9b6e-9abf0e678aab.PNG)
启动后能听到机器人说我能为您做什么,接下来说了也没有反应,然后我就按下ctrl+z.
我发现traceboak跟troubleshooting中的启动后报错,相似,可是di…
-
无法播放音乐,貌似只接入了聊天机器人
-
采用如下方法,可以免去建立软链接,同时解决rc.local以root用户身份执行的权限问题(如网易云音乐因缺乏写权限而无法使用)。
在 /home/pi/.config 下找到autostart的文件夹。在该文件夹下创建一个空文件,文件名自拟,后缀必须是desktop,如:dingdang.desktop。
用记事本打开该文件,修改文件内容如下并保存:
```
[Desktop E…
-
运行以后唤醒叮当后回答“什么”就没反应了怎么回事/usr/local/lib/python2.7/dist-packages/pydub/utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg…
-
如题所说,比如唤醒词是叮当,但是我想加一个亮灯的功能,自己已经写好源代码led.py(灯就直接插在树莓派板子上)。
当我说“亮灯”——哪怕说light时,能识别出来直接亮灯(不用调用在线API);而当我说“叮当”的时候,又能切换回叮当主程序,去调用在线API和stt
希望有大佬能给一点启发~
这边自己看了一个用pocketsphinx下面的continuous.c的方式来弄的,虽然可以做到语…