ROS 개발 환경 구축

타키탸키·2021년 7월 30일
0

ROS

목록 보기
3/3
post-thumbnail

🦿 ROS 설치 및 테스트

  • ROS 한 줄 설치 방법
wget https://raw.githubusercontent.com/
ROBOTIS-GIT/
robotis_tools/master/install_ros_kinetic
.sh&&chmod755 ./install_ros_kinetic.sh&&bash
./install_ros_kinetic.sh
  • ROS 환경 설정
$gedit ~/.bashre 또는 $eb

  • ROS 동작 테스트
    • ctrl + alt + t: terminal 열기
    • ctrl + shift + v: 쉘에서 붙여넣기
    • turtlesim 패키지
    • rescore
      • 동작 확인
    • 두번째 터미널
      • rosrun turtlesim turtlesim_node
      • rosrun turtlesim turtle_teleop_key
      • rosrun rqt_graph rqt_graph
cm # 컴파일

🦿 ROS에서 사용 가능한 통합개발환경(IDE)

ROS에서 사용 가능한 통합 개발 환경

  • 추천 1순위: Qtcreator + Qt Creator Plugin for ROS
    • 설치
      • sudo apt-get install qtcreator
    • 장점
      • CmakeLists.txt을 그대로 사용 가능
      • rqt 플러그인 및 GUI 개발하기 쉬움
  • 추천 2순위: Visual Studio Code + ROS Extension
    • 설치: https://code.visualstudio.com/
    • 장점: 간단한 텍스트 편집기 지향, 빠름
    • 비슷한 계열로 Atom, Sublime Text, Clion 등도 좋음
  • 추천 3순위: Eclipse
    • 설치: http://www.eclipse.org/
    • 장점: 많은 사람들이 사용하는 익숙한 통합개발환경
    • 단점: 무거움
* 출처: 유튜브 ROBOTIS OpenSourceTeam 채널 - ROS 강의
profile
There's Only One Thing To Do: Learn All We Can

0개의 댓글