博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ARM TK1 安装ROS- indigo
阅读量:5934 次
发布时间:2019-06-19

本文共 5698 字,大约阅读时间需要 18 分钟。

之前安装不成功是因为校园网无法访问源的问题。

 

Ubuntu ARM install of ROS Indigo

There are currently builds of ROS for Ubuntu Trusty armhf. These builds include most but not all packages, and save a considerable amount of time compared to doing a full source-based installation.

Supported/Tested Platforms

If this install works for your platform, please list it here:

  •  (Qualcomm Snapdragon 600 Processor)

  •  (Qualcomm Snapdragon 600 Processor)

  • Odroid C1, X, U2, U3, and XU3 (Ubuntu 14.04)
  • SolidRun CuBox-i Pro with  (tested; works)

  •  Black (Ubuntu 14.04)

  • Parallella  (note default shell is not bash)

  • RadxaRock  (Ubuntu 14.04)

  • Pandaboard ES (Ubuntu 14.04)
  • Gumstix Overo Fire with 

  • Wandboard Quad (with  and Ubuntu 14.04) 

  • Raspberry Pi 2 (with Ubuntu 14.04 2015-03-02 )

  •  (with Ubuntu Touch)

 

Installation

 

Configure your Ubuntu repositories

Configure your Ubuntu repositories to allow "restricted," "universe," and "multiverse." You can for instructions on doing this.

 

Set your Locale

Boost and some of the ROS tools require that the system locale be set. You can set it with:

  • sudo update-locale LANG=C LANGUAGE=C LC_ALL=C LC_MESSAGES=POSIX

 

Setup your sources.list

Setup your computer to accept software from the ARM mirror on packages.ros.org.

Due to limited resources, there are only active builds for Trusty armhf (14.04), since this is the stable, long-term Ubuntu release and is the most-requested distribution in conjunction with ROS Indigo.

  • Ubuntu 14.04 (Trusty armhf)

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

 

Set up your keys

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

 

Installation

First, make sure your Debian package index is up-to-date:

  • sudo apt-get update

There are many different libraries and tools in ROS - not all compile fully on ARM. You can also install ROS packages individually.

  • ROS-Base: (Bare Bones) ROS package, build, and communication libraries. No GUI tools.

    • sudo apt-get install ros-indigo-ros-base

 

Add Individual Packages

  • You can install a specific ROS package (replace underscores with dashes of the package name):
    • sudo apt-get install ros-indigo-PACKAGE
      • e.g.
      sudo apt-get install ros-indigo-navigation

To find available packages, use:

 

apt-cache search ros-indigo

The Ubuntu ARM package status is available 

 

Install Sizes

Base Package

Total Install Size

407 MB

572 MB

 

Initialize rosdep

Before you can use ROS, you will need to install and initialize rosdeprosdep enables you to easily install system dependencies for source you want to compile and is required to run some core components in ROS.

 

sudo apt-get install python-rosdepsudo rosdep initrosdep update

 

 

Environment setup

It's convenient if the ROS environment variables are automatically added to your bash session every time a new shell is launched:

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

If you have more than one ROS distribution installed, ~/.bashrc must only source the setup.bash for the version you are currently using.

If you just want to change the environment of your current shell, you can type:

source /opt/ros/indigo/setup.bash

If you use zsh instead of bash you need to run the following commands to set up your shell:

echo "source /opt/ros/indigo/setup.zsh" >> ~/.zshrcsource ~/.zshrc

 

Getting rosinstall

 is a frequently used command-line tool in ROS that is distributed separately. It enables you to easily download many source trees for ROS packages with one command.

To install this tool on Ubuntu, run:

 

sudo apt-get install python-rosinstall

 

Verifying OS name

Make sure your OS name defined at /etc/lsb-release is as the following. Since ros does not recognize Linaro as an OS, this is necessary. The following is for Ubuntu 14.04, trusty. Modify the release number and name as per your target.

 

DISTRIB_ID=UbuntuDISTRIB_RELEASE=14.04DISTRIB_CODENAME=trustyDISTRIB_DESCRIPTION="Ubuntu 14.04"

 

Build farm status

The packages that you installed were built by . You can check the status of individual packages .

 

Tutorials

Now, to test your installation, please proceed to the .

Obtain source code of the installed packages

If you know the location of the repository of each package, you know you can obtain all the code there. But it's often hard even for experienced developers to reach the correct maintained repository of certain packages. Also, in some situations you just want to get the source of the released, installed version of a package. The methods described here the best for these cases.

  • In earlier days of ROS (supposedly  or earlier) you can obtain by the way noted .

  • Now just apt-get source (sudo not needed) as following. You don't even need to explicitly specify deb-src entry etc. This downloads from the server all the files in the released version of the package (i.e. things not installed in the installation rule (e.g. CMakeLists.txt) are also included).

    $ apt-get source ros-hydro-laser-pipeline
    Drawback might be that you have to specifify a single, exact package name (asterisk doesn't work).

 

Using RVIZ

It is not recommended to run rviz on most ARM-based CPUs. They're generally too slow, and the version of OpenGL that is provided by the software (mesa) libraries it not new enough to start rviz.

'IF' you have a powerful board with a GPU and vendor-supplied OpenGL libraries, it might be possible to run rviz. The IFC6410 and the NVidia Jetson TK1 are two such boards where rviz will run, although neither is fast enough for graphics-heavy tasks such as displaying pointclouds.

Note that rviz will segfault if you have the GTK_IM_MODULE environment variable set, so it's best to unset it in your ~/.bashrc:

 

 

转载于:https://www.cnblogs.com/CZM-/p/5939607.html

你可能感兴趣的文章
闭包 !if(){}.call()
查看>>
python MySQLdb安装和使用
查看>>
Java小细节
查看>>
poj - 1860 Currency Exchange
查看>>
chgrp命令
查看>>
Java集合框架GS Collections具体解释
查看>>
洛谷 P2486 BZOJ 2243 [SDOI2011]染色
查看>>
linux 笔记本的温度提示
查看>>
数值积分中的辛普森方法及其误差估计
查看>>
Web service (一) 原理和项目开发实战
查看>>
跑带宽度多少合适_跑步机选购跑带要多宽,你的身体早就告诉你了
查看>>
广平县北方计算机第一届PS设计大赛
查看>>
深入理解Java的接口和抽象类
查看>>
java与xml
查看>>
Javascript异步数据的同步处理方法
查看>>
快速排序——Java
查看>>
iis6 zencart1.39 伪静态规则
查看>>
SQL Server代理(3/12):代理警报和操作员
查看>>
基于事件驱动的DDD领域驱动设计框架分享(附源代码)
查看>>
Linux备份ifcfg-eth0文件导致的网络故障问题
查看>>