パッケージ作成
ros2 pkg create hoge_pkg --dependencies rclcpp --build-type ament_cmake --license Apache-2.0
ros2 pkg create inverted_pendulum_robot_imu_filter_ros2 --dependencies rclcpp --build-type ament_cmake --license Apache-2.0 --maintainer-name "Tatsuhiro Ikebe" --maintainer-email "beike315@icloud.com"
ros2 pkg create diff_bot_description --build-type ament_cmake --dependencies urdf xacro --license Apache-2.0 --description "The diff_bot_description package" --maintainer-name "Tatsuhiro Ikebe" --maintainer-email "beike315@icloud.com" --package-format 3
参考元
docs.ros.org
gbiggs.github.io
qiita.com