Changes

Jump to: navigation, search

Orange Pi 5 Plus

414 bytes added, 20:36, 6 June 2023
Ubuntu 20.04 method of installing ROS 1 Noetic
[[File:media/image407.png|576x210px]]
[http{| class="wikitable" style="width://docs.ros.org/ 800px;" |-|'''http://docs.ros.org''']
'''https://wiki.ros.org/Distributions'''
|}
<ol start="2" style="list-style-type: decimal;">
<li><p>ROS 1 '''Noetic Ninjemys'''' official installation document links are shown below:</p>
<p>[http{| class="wikitable" style="width://wiki.ros.org/noetic/Installation/Ubuntu 800px;" |-|'''http://wiki.ros.org/noetic/Installation/Ubuntu''']</p>|}</li><li><p>Ubuntu 20.04 is recommended in the official installation document of ROS '''Noetic Ninjemys''', so please make sure that the system used in the development board is '''<span style="color:#FF0000">Ubuntu20.04 desktop version system</span>'''</p><p>[http{| class="wikitable" style="width://wiki.ros.org/noetic/Installation 800px;" |-|'''http://wiki.ros.org/noetic/Installation''']</p>|}
<p>[[File:media/image408.png|312x176px]]</p></li>
<li><p>Then install Ros1 with the following script</p>
{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi5plus:~$ '''install_ros.sh ros1'''</p>|}</li><li><p>Before using the ROS tool, you need to initialize ROSDEP first, and then install some system dependencies and core components in some ROS when compiling the source code</p></li></ol>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''<span style="color:#FF0000">Note that the following commands need to ensure that the development board can access GitHub normally, otherwise it will report an error due to network problems。problems.</span>'''  '''install_ros.sh script will try to modify/etc/hosts and run the following commands automatically. However, this method cannot guarantee that you can access github normally. If install_ros.sh has prompting the following errors after the ros1 is installed, please think other methods to allow the linux system of the development board to access github normally, and then manually run the following manually command.'''
'''install_ros.sh script will try to modify/etc/hosts and run the following commands automatically. However, this method cannot guarantee that you can access github normally. If install_ros.sh has prompting the following errors after the ros1 is installed, please think other methods to allow the linux system of the development board to access github normally, and then manually run the following manually command。'''
'''https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml'''
'''Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml'''
'''<span style="color:#FF0000">ERROR: error loading sources list:</span>''' ::'''<span style="color:#FF0000">The read operation timed out</span>'''</big>|}
'''The read operation timed out'''
{| class="wikitable" style="width:800px;"
|-
|
orangepi@orangepi:~$ '''source /opt/ros/noetic/setup.bash'''
Recommended: please run
 ::rosdep update
orangepi@orangepi:~$ '''rosdep update'''
updated cache in /home/orangepi/.ros/rosdep/sources.cache
|}</ol>
<ol start="6" style="list-style-type: decimal;">
<li><p>Then open a command line window on the '''desktop''', and then use the '''test_ros.sh''' script to start a small turtle routine to test whether the ROS can be used normally</p>
{| class="wikitable" style="width:800px;" |-|<p>orangepi@orangepi:~$ '''test_ros.sh'''</p>|}</li>
<li><p>After running the '''test_ros.sh''' script, a small turtle shown in the figure below will pop up</p>
<div class="figure">
<span id="ubuntu20.04-the-method-of-installing-ros-2-galactic"></span>
 
=== Ubuntu20.04 The method of installing ROS 2 Galactic ===

Navigation menu