Giter Club home page Giter Club logo

installrostx2's Introduction

installROSTX2

Install Robot Operating System (ROS) on NVIDIA Jetson TX2

These scripts will install Robot Operating System (ROS) on the NVIDIA Jetson TX2 development kit.

For L4T 28.2 (JetPack 3.2)

See releases or tags for earlier versions.

The script is based on the Ubuntu ARM install of ROS Kinetic: http://wiki.ros.org/kinetic/Installation/Ubuntu

Maintainer of ARM builds for ROS is http://answers.ros.org/users/1034/ahendrix/

There are two scripts:

installROS.sh

Usage: ./installROS.sh  [[-p package] | [-h]]
 -p | --package <packagename>  ROS package to install
                               Multiple Usage allowed
                               The first package should be a base package. One of the following:
                                 ros-kinetic-ros-base
                                 ros-kinetic-desktop
                                 ros-kinetic-desktop-full
 

Default is ros-kinetic-ros-base if no packages are specified.

Example Usage:

$ ./installROS.sh -p ros-kinetic-desktop -p ros-kinetic-rgbd-launch

This script installs a baseline ROS environment. There are several tasks:

  • Enable repositories universe, multiverse, and restricted
  • Adds the ROS sources list
  • Sets the needed keys
  • Loads specified ROS packages, defaults to ros-kinetic-base-ros if none specified
  • Initializes rosdep

You can edit this file to add the ROS packages for your application.

setupCatkinWorkspace.sh Usage:

$ ./setupCatkinWorkspace.sh [optionalWorkspaceName]

where optionalWorkspaceName is the name of the workspace to be used. The default workspace name is catkin_ws. This script also sets up some ROS environment variables. Refer to the script for details.

Note: On June 7, 2019 the GPG key for ROS was changed due to security issues. If you have ROS installed on your system before this, you should delete the GPG key:

$ sudo apt-key del 421C365BD9FF1F717815A3895523BAEEB01FA116

Release Notes

June 2019

  • L4T 28.2
  • Update GPG Key for ROS server

April 2018

  • L4T 28.2

November 2017

  • L4T 28.1

March 2017

  • Initial Release
  • L4T 27.1

License

MIT License

Copyright (c) 2017-2018 Jetsonhacks

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

installrostx2's People

Contributors

jetsonhacks avatar soroosh129 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

installrostx2's Issues

Not a valid identifier

Hi Jim:

After install ROS and when I open a new terminal, it always complained

bash: export: 192.168.55.1': not a valid identifier bash: export: xxx': not a valid identifier
bash: export: `': not a valid identifier

Why?

Thank you.

type roscore - command not found

It appears to install successfully, however if I type roscore into terminal the software is not found.

Oh I see in the output that it was unable to locate package ros-kinetic-ros-base

bash: roscore: command not found

Hello. Thanks to your video on youtube. I installed several things step by step.
I completely installation with

  1. 'caffe Deep learning Framework - NVIDIA Jetson'
  2. 'Build Kernel and Modules - NVIDIA Jetson TX2' without any error.
    All screen same like yours.
    During the ros installation, every step was all good. I closed window when you close in youtube video.
    However, 'roscore' command was not working...
    It shows ' bash: roscore: command not found'.

ros install failed

i have run the install script but got error as below,could you please tell me what's wrong?

./installROS.sh 
[sudo] password for nvidia: 
Executing: /tmp/tmp.iGWJZXPoB5/gpg.1.sh --keyserver
hkp://ha.pool.sks-keyservers.net:80
--recv-key
0xB01FA116
gpg: requesting key B01FA116 from hkp server ha.pool.sks-keyservers.net
gpg: key B01FA116: "ROS Builder <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Get:1 file:/var/cuda-repo-8-0-local  InRelease
Ign:1 file:/var/cuda-repo-8-0-local  InRelease
Get:2 file:/var/cuda-repo-8-0-local  Release [574 B]
Get:2 file:/var/cuda-repo-8-0-local  Release [574 B]
Hit:4 http://packages.ros.org/ros/ubuntu xenial InRelease                      
Hit:5 http://ports.ubuntu.com/ubuntu-ports xenial InRelease                    
Ign:6 http://ppa.launchpad.net/relan/exfat/ubuntu xenial InRelease       
Get:7 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [102 kB]   
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease        
Ign:9 http://ppa.launchpad.net/relan/exfat/ubuntu xenial Release               
Hit:10 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
Get:11 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 Packages [542 kB]
Ign:12 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 Packages  
Ign:13 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main all Packages    
Ign:14 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en_US
Get:15 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 Packages [487 kB]
Ign:16 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en  
Get:17 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse arm64 Packages [10.5 kB]
Ign:18 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 Packages
Ign:13 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main all Packages    
Ign:14 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en  
Ign:18 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 Packages  
Ign:13 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main all Packages    
Ign:14 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en  
Ign:18 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 Packages
Ign:13 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 Packages
Ign:13 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main DEP-11 64x64 Icons
Err:12 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 Packages
  404  Not Found
Ign:13 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main all Packages
Ign:14 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main arm64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/relan/exfat/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 1,141 kB in 23s (48.2 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/relan/exfat/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/xenial/main/binary-arm64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-ros-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-rosdep is already the newest version (0.11.8-1).
0 upgraded, 0 newly installed, 0 to remove and 286 not upgraded.
Doing /etc/ssl/certs
WARNING: Skipping duplicate certificate ACCVRAIZ1.pem
WARNING: Skipping duplicate certificate ACCVRAIZ1.pem
ERROR: default sources list file already exists:
	/etc/ros/rosdep/sources.list.d/20-default.list
Please delete if you wish to re-initialize
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
updated cache in /home/nvidia/.ros/rosdep/sources.cache
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-rosinstall is already the newest version (0.7.8-1).
0 upgraded, 0 newly installed, 0 to remove and 286 not upgraded.
nvidia@tegra-ubuntu:~/packages/installROSTX2-master$ ls
installROS.sh  README.md                updateRepositories.sh
LICENSE        setupCatkinWorkspace.sh
nvidia@tegra-ubuntu:~/packages/installROSTX2-master$ ./setupCatkinWorkspace.sh jetson
./setupCatkinWorkspace.sh: line 5: /opt/ros/kinetic/setup.bash: No such file or directory
Creating Catkin Workspace: /home/nvidia/jetson
/home/nvidia/jetson/src
./setupCatkinWorkspace.sh: line 20: catkin_init_workspace: command not found
./setupCatkinWorkspace.sh: line 22: catkin_make: command not found

repo key server alternative

the key server always not connect through from my ISP, please consider update script with a timeout to handshake with multiple alternatives: hkp://keyserver.ubuntu.com:80

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.