Skip to content

oosuiw/TB3_ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TB3_ws

This is the full archive of the workspace built on ubunt22.04 , ROS2 humble.

Uploaded because the build took a long time due to low memory.

Repository cloning is recommended for the following people,

  1. whose builds are not progressing by more than 28% in 5 hours due to low memory
  2. cannot swap memory due to insufficient storage
RasPi Micro SD BUILD
RasPi3 16Gib X
RasPi3 256Gib X
RasPi4 256Gib O

USB Keyboard is working!


다운로드 받으려는 경로로 이동


cd ~/turtlebot3_ws


빌드 완료된 파일 다운로드


git clone https://github.com/oosuiw/TB3_ws.git

다운로드 받은 폴더로 이동


cd TB3_ws/


다운로드 받은 파일를 상위 폴더로 이동


sudo mv build.tar.xz /home/ubuntu/turtlebot3_ws/


sudo mv install.tar.xz /home/ubuntu/turtlebot3_ws/


sudo mv log.tar.xz /home/ubuntu/turtlebot3_ws/


다시 상위폴더로 이동..


cd ..


비어있는 폴더는 삭제!


sudo rm -r TB3_ws


다운로드 받고 이동시킨 파일 압축해제하는 과정..


tar xvf build.tar.xz


tar xvf install.tar.xz


tar xvf log.tar.xz


압축풀고 필요없어진 파일 삭제하는 과정..(선택사항)


sudo rm build.tar.xz 


sudo rm install.tar.xz 


sudo rm log.tar.xz 

===

여기부터는 환경 셋업!

아래의 숫자(=30) 다른 사람과 중복안됨! 겹치지 않는 숫자로..


echo 'export ROS_DOMAIN_ID=30 #TURTLEBOT3' >> ~/.bashrc 


echo 'source /opt/ros/humble/setup.bash' >> ~/.bashrc


echo 'source ~/turtlebot3_ws/install/setup.bash' >> ~/.bashrc


이번엔 직접 bashrc파일 수정하는 시간, TOP <-> BOT 간 연결하는 과정


<REMOTE_PC = 노트북(TOP)>


export ROS_IP=노트북 IP
export ROS_MASTER_URI=http://localhost:11311
export ROS_HOSTNAME=$ROS_IP

<TurtleBot3 SBC, = 로봇(BOT)>


export ROS_MASTER_URI=https://노트북 IP:11311
export ROS_HOSTNAME=로봇 IP

About

Ubuntu 22.04 & ROS2 HUMBLE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published