Orin-X 安装Ros1

1 篇文章 0 订阅


  团队博客: 汽车电子社区


一、 修改系统时间

sudo date -s "2024-09-12 09:27:45"

在这里插入图片描述

二、配置网络

sudo ip link set dev mgbe3_0 down
sudo ip addr add 192.168.3.100/24 dev mgbe3_0
sudo ip link set dev mgbe3_0 up

在这里插入图片描述

三、修改根分区为可读写

sudo mount -o remount,rw /

在这里插入图片描述

四、修改系统源为阿里源

  将如下内容替换到/etc/apt/sources.list文件

deb https://mirrors.aliyun.com/ubuntu-ports/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-updates main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-backports main restricted universe multiverse

五、更新系统软件

sudo apt-get update
sudo apt-get upgrade

在这里插入图片描述

六、添加Ros源到系统

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" >> /etc/apt/sources.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt-get update

![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/3709999a45b14509be9fb2500f717dfe.jpeg

七、安装aptitude

sudo apt install aptitude -y

在这里插入图片描述

八、安装Ros

sudo aptitude install ros-noetic-desktop-full

在这里插入图片描述

8.1、关键节点1

[图片]

8.2、关键节点2

在这里插入图片描述

8.3、关键节点3

在这里插入图片描述

8.4、关键节点4

在这里插入图片描述

九、安装依赖

sudo apt-get install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential python3-pip
sudo apt-get install ros-noetic-roslaunch

在这里插入图片描述

十、rosdep初始化&更新

sudo rosdep init
rosdep  update

在这里插入图片描述sudo rosdep init
rosdep  update

十一、设置环境变量

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

十二、执行roscore验证

在这里插入图片描述

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值