ubuntu16.04 install ros kinetic
3061 단어 ros
http://wiki.ros.org/kinetic/Installation/Ubuntu
failed at:
sudo rosdep init
rosdep update
got error:
ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.
solution:
git clone https://github.com/ros/rosdistro.git/home/cam/git/
sudo gedit/usr/lib/python2.7/dist-packages/rosdep2/main.py sudo gedit/usr/lib/python2.7/dist-packages/rosdep2/rep3.py sudo gedit/usr/lib/python2.7/dist-packages/rosdistro/__init__.py sudo gedit/usr/lib/python2.7/dist-packages/rosdep2/sources_list.장차https://raw.githubusercontent.com/ros/rosdistro/master모두file:///home/cam/git/rosdistro
-------------------------rep3.py--------------------------------------------------
# location of targets file for processing gbpdistro files
#REP3_TARGETS_URL = 'https://raw.githubusercontent.com/ros/rosdistro/master/releases/targets.yaml'
REP3_TARGETS_URL = 'file:///home/cam/git/rosdistro/releases/targets.yaml'
-------------------------source_list.py------------------------------------------
#DEFAULT_SOURCES_LIST_URL = 'https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list'
DEFAULT_SOURCES_LIST_URL = 'file:///home/cam/git/rosdistro/rosdep/sources.list.d/20-default.list'
--------------------------rosdistro/__init__.py ---------------------------------
#DEFAULT_INDEX_URL = 'https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml'
DEFAULT_INDEX_URL = 'file:///home/cam/git/rosdistro/index-v4.yaml'
then run cmd: sudo rosdep init
sudo cp/etc/ros/rosdep/sources.list.d/20-default.list/etc/ros/rosdep/sources.list.d/20-default.list.bak sudo gedit/etc/ros/rosdep/sources.list.d/20-default.목록 및 모두 바꾸기https://raw.githubusercontent.com/ros/rosdistro/master모두file:///home/cam/git/rosdistro
# os-specific listings first
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
yaml file:///home/cam/git/rosdistro/rosdep/osx-homebrew.yaml osx
# generic
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
yaml file:///home/cam/git/rosdistro/rosdep/base.yaml
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
yaml file:///home/cam/git/rosdistro/rosdep/python.yaml
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
yaml file:///home/cam/git/rosdistro/rosdep/ruby.yaml
#gbpdistro https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml fuerte
gbpdistro file:///home/cam/git/rosdistro/releases/fuerte.yaml fuerte
# newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead
then run cmd: rosdep update
https://blog.csdn.net/qq_17685565/java/article/details/105741864
https://www.cnblogs.com/gary-guo/p/12650552.html
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
ekf 패키지 컴파일 오류또 오류: E: dpkg이 중단되었습니다. "sudo dpkg --configure-a"를 수동으로 실행하여 이 문제를 해결해야 합니다. 다음 오류를 수정하려면 "apt-get-f install"을 실행해야 할 수도...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.