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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则