檢查 roscore 是否正常打開
[ERROR] Failed to contact master at [localhost:11311]. Retrying... python
[ERROR] [1446531999.044935824]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying... git
解決:請檢查 roscore 是否正常打開。 github
每次進行運行測試時都要首先運行 roscore。 編輯器
關於rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
<urlopen error _ssl.c:495: The handshake operation timed out> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
ERROR: error loading sources list:
The read operation timed out
不知道如何解決,求吧友解惑測試
http://tieba.baidu.com/p/4877135262 url
我也出現此問題,而後我執行了如下就能夠了: spa
sudo apt-get update .net
sudo apt-get install python-rosdep homebrew
程序「rosdep」還沒有安裝
您能夠使用如下命令安裝: ssl
sudo apt install python-rosdep
加鎖
錯誤提示:
E: 沒法得到鎖 /var/lib/apt/lists/lock – open (11: 資源暫時不可用)
E: 沒法對目錄 /var/lib/apt/lists/ 加鎖
解決辦法一:
面對這個問題,有人直接在終端中輸入命令:
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
Ubuntu獲取root權限
1.臨時獲取root權限:
Ctrl+Alt+T 快捷鍵打開終端
#sudo -i //獲取root權限後更改當前路徑爲根目錄/root
#sudo -s //獲取root權限後仍在當前目錄下
[sudo] password for ***: //輸入開機密碼
root@***:~# //臨時獲取root
2.永久root權限:(以root帳戶登陸)
先按1.中方法臨時得到root權限
#cd /etc/lightdm
#gedit lightdm.conf
打開編輯器,在最後加上兩行:
greeter-show-manual-login=true
allow-guest=false
#passwd root
輸入新的Unix密碼:
從新輸入新的 UNIX密碼:
passwd:已成功更新密碼