Catkin编译系统

https://sychaichangkun.gitbooks.io/ros-tutorial-icourse163/content/chapter2/2.1.html

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c869284a-aa68-4ab0-9a20-2e296dc758dd/Untitled.png

结构

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/215a9aa9-a9a9-4a52-8918-9beda6eaaa77/Untitled.png

catkin_make

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9ad2ac1d-07fe-4d77-b81b-23d5ad07fe85/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a8462e80-9cce-422c-a540-4a2c94670c43/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c87ab7b7-a0a3-42b8-97e8-14f36021b582/Untitled.png

CMakelist

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/91b5eae6-d4a6-4f40-bdf9-8f5aa1cce524/Untitled.png

package

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a9336107-dbba-4f48-a7be-f672bbc0b0d5/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c1265d83-ee86-4b95-81ed-10351d22d0cf/Untitled.png

常用指令:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/012052af-b35a-472b-97b3-69d42d725268/Untitled.png

$catkin_create_pkg:创建package
//加依赖包的话
$catkin_create_pkg test2 roscpp rospy std_msgs nav_msgs

roscore/rosrun

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/544e35f8-8a2b-4342-baa2-8f7df532b2b3/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6e1393a5-d933-440f-9bab-f1055b2d2b13/Untitled.png