How is installing a particular package in ROS2 different from ROS1 ?

asked 2021-02-12 21:19:33 -0500

ishaniis gravatar image

As I was following up with ROS2 Autoware Lectures. I have a quick question - As, How is the installation of a particular package in ROS2 different from ROS1.

Take an Instance, If I want to install this particular package -

'point_cloud_filter_transform_nodes'

In ROS1, what I used to follow is - Cloning the package, then building it using catkin make

Now, What will be different in this case? In lectures, they have used something like

colcon build

How is it different from

catkin make

and What process should I follow to install a particular package in the ROS2 ade environment?

edit retag flag offensive close merge delete

Comments

just a comment:

In ROS1, what I used to follow is - Cloning the package, then building it using catkin make

this should not be your default workflow when installing ROS packages. Neither in ROS 1 nor ROS 2.

Using available binary packages should be the default (ie: install using apt). Only if really needed should you build from source.

gvdhoorn gravatar image gvdhoorn  ( 2021-02-14 05:39:49 -0500 )edit