sudo apt-get install terminator -> 편집기 설치
- 터미네이터 실행 : ctrl + alt + 'T'
- 터미네이터 종료 : ctrl + shift + 'Q'
- 수평분할: ctrl + shift + 'O'
- 수직분할: ctrl + shift + 'E'
- 다음창 활성화 : ctrl + tab or ctrl + shift + n
- 이전창 활성화 : ctrl + shift+ tab or ctrl + shift + p
$ gedit ~/.bashrc
다음을 터미널에 치면 GUI-edit 프로그램이 실행된다
맨 아래의 내용에 다음을 추가해준다
#Set ROS Melodic
source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash
# Set ROS Network
export ROS_HOSTNAME=xxx.xxx.xxx.xxx
export ROS_MASTER_URI=https://${ROS_HOSTNAME}:11311
#Set ROS
alias command
alias cw='cd ~/catkin_ws'
alias cs='cd ~/catkin_ws/src'
alias cm='cd ~/catkin_ws && catkin_make'
출처: https://makingrobot.tistory.com/22 [MakingRobot]
요약어
alias sb='source ~/.bashrc'
alias eb='gedit ~/.bashrc'
alias cwa='cd ~/catkin_ws'
alias csa='cd ~/catkin_ws/src'
alias cma='cd ~/catkin_ws && catkin_make && /devel/setup.bash'
alias cw='cd ~/catkin_ws'
alias cs='cd ~/catkin_ws/src'
alias cm='cd ~/catkin_ws && catkin_make && /devel/setup.bash'
'자율주행 > [2022] 1-tenth AA EV' 카테고리의 다른 글
OpenCV Line detection cpp code (0) | 2022.04.28 |
---|