zoukankan      html  css  js  c++  java
  • Ubuntu14.04安装ROS Indigo



    一、安装ROS

    1.1配置Ubuntu的软件中心

    配置Ubuntu要求允许接受"restricted," "universe," and "multiverse."的软件源,可以根据下面的链接配置:

    https://help.ubuntu.com/community/Repositories/Ubuntu

       注意:配置到“Integration with Ubuntu Software Center”之前就可以了!


    1.2.设置你的sources.list(软件源):

    sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'

    1.3设置你的密钥:

    wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -

    1.4.安装

    首先确认你的Debian的软件包索引是最新的:(Debian 计划是一个致力于创建一个自由操作系统的合作组织。我们所创建的这个操作系统名为 Debian。Debian 系统目前采用 Linux 内核或者 FreeBSD 内核。 )

    sudo apt-get update

    在ROS中有许多不同的函数库和工具,建议是完全安装,也可以根据自己的要求分别安装.完全安装时的工具包括ROS,rqt,rviz,robot-generic libraries,2D/3D simulators,navigation and 2D/3D,perception。

    sudo apt-get install ros-indigo-desktop-full

    1.5.初始化rosdep

    sudo rosdep init

    rosdep update

    1.6设置环境

    添加ROS的环境变量,这样,当你打开你新的shell时,你的bash回话中会自动添加环境变量.

    echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc

    source ~/.bashrc(使环境变量设置立即生效)

    1.7安装rosinstall

    sudo apt-get install python-rosinstall

    rosinstall命令是一个使用的非常频繁的命令,使用这个命令可以轻松的下载许多ROS软件包。

    总体步骤转载于http://blog.exbot.net/archives/1270。


  • 相关阅读:
    实战-百度云[大文件/文件夹]下载限制破解
    IOCP之客户端及消息传递
    IOCP简单实现
    Charles V4系列更新 | 绿色特别版 | 视频教程
    Charles 3.11.5 绿色特别版
    VC运行库合集2005/2008/2010/2012/2013/2015
    手游测试之《弱网测试》
    后端性能测试不可不知的二三事
    linux性能指标及分析工具
    Shell笔记-04
  • 原文地址:https://www.cnblogs.com/siahekai/p/5840331.html
Copyright © 2011-2022 走看看