Turtlebot3入門教程-系統-SBC軟件設置(ubuntu20.04)


本文針對如何在樹莓派3上安裝ubuntu20.04系統和軟件進行講解

樹莓派3接上顯示屏和鼠標后,開機后繼續安裝軟件包

 

詳細步驟如下:

 

1)系統安裝

2)ROS安裝

3)TurboBot3依賴的ROS包安裝

安裝turtlebot3依賴:

sudo apt-get install ros-noetic-joy  ros-noetic-teleop-twist-keyboard ros-noetic-laser-proc ros-noetic-rgbd-launch ros-noetic-amcl ros-noetic-map-server ros-noetic-move-base ros-noetic-urdf ros-noetic-xacro ros-noetic-compressed-image-transport ros-noetic-rqt-image-view  ros-noetic-navigation

 

需要源碼安裝的依賴

cd ~/pkg_ws/src

git clone -b melodic-devel https://github.com/ros-teleop/teleop_twist_joy

git clone -b melodic-devel https://github.com/ros-perception/depthimage_to_laserscan

git clone -b noetic-devel https://github.com/ros-drivers/rosserial

git clone -b melodic-devel https://github.com/ros-perception/slam_gmapping

git clone -b melodic-devel https://github.com/ros-perception/openslam_gmapping

cd ~/pkg_ws && catkin_make

 

安裝turtlebot3

cd ~/tb3_ws/src

git clone https://github.com/ROBOTIS-GIT/hls_lfcd_lds_driver.git

git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git

git clone https://github.com/ROBOTIS-GIT/turtlebot3.git

cd ~/tb3_ws&& catkin_make

如果catkin_make完成沒有任何錯誤,安裝完成。

 

USB設置(以下允許將USB端口用於沒有root權限的OpenCR板)

cd ~/catkin_ws/src/turtlebot3/turtlebot3_bringup

sudo cp ./99-turtlebot3-cdc.rules /etc/udev/rules.d/

sudo udevadm control --reload-rules

sudo udevadm trigger

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM