Jetson系列 安装ros自动化安装

在NVIDIA Jetson开发者工具包上安装Robot操作系统(ROS)Melodic

这些脚本将安装机器人操作系统(ROS)旋律在英伟达JeTon开发工具包。

Jetson Nano、Jetson AGX Xavier、Jetson Xavier NX、Jetson TX2、Jetson TX1

该脚本基于ROS Melodic的Ubuntu ARM安装:http://wiki.ros.org/melodic/Installation/Ubuntu

ROS ARM构建的维护者是http://answers.ros.org/users/1034/ahendrix/

https://github.com/jetsonhacks/installROS.git
git@github.com:jetsonhacks/installROS.git

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-melodic-ros-base
                                 ros-melodic-desktop
                                 ros-melodic-desktop-full
 

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

Example Usage:

$ ./installROS.sh -p ros-melodic-desktop -p ros-melodic-rgbd-launch
$ ./installROS.sh -p ros-melodic-desktop-full -p ros-melodic-rgbd-launch

 DOWNLOAD_TIMEOUT = 15.0值,改大一点就可以了改到50.0也行

sudo vim /usr/lib/python2.7/dist-packages/rosdep2/gbpdistro_support.py
sudo vim /usr/lib/python2.7/dist-packages/rosdep2/sources_list.py
sudo vim /usr/lib/python2.7/dist-packages/rosdep2/rep3.py

This script installs a baseline ROS environment. There are severa

l tasks:

  • Enable repositories universe, multiverse, and restricted
  • Adds the ROS sources list
  • Sets the needed keys
  • Loads specified ROS packages, defaults to ros-melodic-base-ros if none specified
  • Initializes rosdep
  • Sets up and in the fileROS_MASTER_URIROS_IP~/.bashrc

Note: You will need to check your ~/.bashrc file to make sure the ROS_MASTER_URI and ROS_IP are setup correctly for your environment. During configuration, a best guess is made which should be considered a placeholder.

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

setupCatkinWorkspace.sh Usage:

$ ./setupCatkinWorkspace.sh [_optionalWorkspaceName_]

where optionalWorkspaceName is the name and path of the workspace to be used. The default workspace name is .~/catkin_ws


版权声明:本文为weixin_46151178原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。