colcon usage in Robomaker

0

Hi everyone,
I am developing on Melodic. This is my first time using the Robomaker and colcon. Coming from catkin, I have a few questions about it:

  1. Are we supposed to effectively abandon catkin in Robomaker and use colcon instead for ROS 1 too?

  2. What about apt? We use colcon instead of that too? Is that recommended best practices?

  3. Is there an equivalent to the catkin_create_pkg? I see <ros2 pkg create> but that seems to be for ROS2 only.

Thank you for your help

已提問 4 年前檢視次數 221 次
1 個回答
0

Hi, Welcome!

  1. For building and bundling, yes you need to use colcon build and colcon bundle to create your 'output.tar' files for your robot_ws and simulation_ws. These are used to run your simulation job in RoboMaker.
  2. You can use the 'apt' package manager to install packages, but we recommend using 'rosdep' instead as it will find the necessary packages for you
  3. You can still create packages using the catkin_package_create script as shown here: http://wiki.ros.org/ROS/Tutorials/CreatingPackage You will use colcon after the package is created to build and bundle your packages.
AWS
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南