2021.06.07 - [분류 전체보기] - [ROS]우분투 리눅스 ROS
[ROS]우분투 리눅스 ROS
우분투 18.04버전으로 진행하여 Melodic Morenia 버전으로 진행했습니다. http://wiki.ros.org/ Documentation - ROS Wiki ROS (Robot Operating System) provides libraries and tools to help software develope..
golduny.tistory.com
패키지를 만들 땐 ~/catkin_ws/src 안으로 넣어야 한다.
패키지를 생성할 때 CMakeLists을 참고하여 만드는 작업
패키지를 만들어 주는 명령어 catkin_create_pkg를 이용하여 패키지 이름과 depend하는 관계의 package를 선언한다.
$ catkin_create_pkg <package_name> [depend1] [depend2] [depend3]
나는 이렇게 선언하여 실행하였다.
$ catkin_create_pkg yh_tutorial message_generation std_msgs roscpp
내가 만든 패키지 안으로 들어가 파일을 확인하면 2개의 파일과 2개의 폴더가 생성된것을 볼 수 있다.
이 중 이제 package.xml로 들어가서 설정을 바꿔준다.
http://wiki.ros.org/ROS/Tutorials/CreatingPackage
ROS/Tutorials/CreatingPackage - ROS Wiki
Using roscreate Before we create a package, let's see how the roscreate-pkg command-line tool works. This creates a new ROS package. All ROS packages consist of the many similar files : manifests, CMakeLists.txt, mainpage.dox, and Makefiles. roscreate-pkg
wiki.ros.org
[ROS]Service 통신 실습 (0) | 2021.06.09 |
---|---|
[ROS]Topic 통신 실습 (0) | 2021.06.08 |
[ROS] ROS 용어 정리 (0) | 2021.06.07 |
[ROS] Action, Action server, Action client (0) | 2021.06.07 |
[ROS] Service, Service server, Service client (0) | 2021.06.07 |