JetsonNano之安装ROS melodic

网友投稿 301 2022-11-17

JetsonNano之安装ROS melodic

文章目录

新建脚本

$ mkdir -p ~/AiROS$ cd ~/AiROS$ vim installROS.sh

脚本内容

#!/bin/bash# Install Robot Operating System (ROS) on NVIDIA Jetson TX2# Maintainer of ARM builds for ROS is Information from:# Setup Locale# sudo update-locale LANG=C LANGUAGE=C LC_ALL=C LC_MESSAGES=POSIX# Setup sources.lstsudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'# Setup keyssudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116# Installationsudo apt-get updatesudo apt-get install ros-melodic-desktop-full -y# Add Individual Packages here# You can install a specific ROS package (replace underscores with dashes of the package name):# sudo apt-get install ros-melodic-PACKAGE# e.g.# sudo apt-get install ros-melodic-navigation## To find available packages:# apt-cache search ros-melodic# # Initialize rosdepsudo apt-get install python-rosdep -y# Initialize rosdepsudo rosdep init# To find available packages, use:rosdep update# Environment Setupecho "source /opt/ros/melodic/setup.bash" >> ~/.bashrcsource ~/.bashrc# Install rosinstallsudo apt-get install python-rosinstall -y

执行安装

$ ./installROS.sh

验证成功

roscore

参考​​​ https://ncnynl.com/archives/201904/2923.html​​

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:单片智能控制芯片GC7645的功能特点、原理及应用分析
下一篇:SpringDataJPA在Entity中常用的注解介绍
相关文章

 发表评论

暂时没有评论,来抢沙发吧~