3413 views|2 replies

654

Posts

26

Resources
The OP
 

34 "Ten Thousand Miles" Raspberry Pi Car——Installation of ROS Noetic on Ubuntu System [Copy link]

 
This post was last edited by lb8820265 on 2022-4-16 00:54

Ubuntu is installed for the purpose of installing ROS. The official website of ROS introduces how to install it. The latest version of ROS is Noetic, which supports Ubuntu Focal (20.04) and Debian Buster (10).

The installation process is as follows:

1. Set up software sources

sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'

2. Add a secret key

sudo apt-key adv --keyserver'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

3. Update the source list and install

sudo apt update
sudo apt install ros-noetic-desktop-full

4. Set environment variables

echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
5. Build package dependencies
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential

6. Initialize ROS

sudo rosdep init
rosdep update

If everything is OK, it will display as follows.

If any error occurs, enter the following command

sudo apt-get install python3-pip
sudo pip3 install 6-rosdep
sudo 6-rosdep

Then enter the instructions in step 6.

7. Test the turtle program

Open a terminal and start ros

roscore

Open a terminal and open the turtle

rosrun turtlesim turtlesim_node

Open a terminal and control the turtle with the keyboard

rosrun turtlesim turtle_teleop_key

Finally, the installation of ROS is completed, and now you can have fun.

This post is from Innovation Lab

Latest reply

Thank you for sharing. I have been following your Wanli CAR project until now, and finally reached the most anticipated ROS project. I am also following the related videos on Bilibili. I have learned a lot from this project. Please keep updating!   Details Published on 2022-4-25 21:46
Personal signatureQQ:252669569
 
 

7422

Posts

2

Resources
2
 

Is that little blue window a simulator?

This post is from Innovation Lab
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

1

Posts

0

Resources
3
 

Thank you for sharing. I have been following your Wanli CAR project until now, and finally reached the most anticipated ROS project. I am also following the related videos on Bilibili. I have learned a lot from this project. Please keep updating!

This post is from Innovation Lab
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list