Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up an initial CI with colcon on ROS2 Dashing & Foxy. #1543

Open
wants to merge 6 commits into
base: ros2-dashing
Choose a base branch
from

Conversation

MichaelGrupp
Copy link
Contributor

@MichaelGrupp MichaelGrupp commented Nov 2, 2020

This is a preparation for the ROS2 port.

It currently builds and tests only the cartographer library, which was
already made compatible with ROS2.

cartographer_ros, cartographer_ros_msgs and cartographer_rviz can
be activated in the Dockerfiles once they reach a state where they are
compatible with ROS2's build system.

  • Remove unneeded, ROS 1 specific CI files.
  • Port build scripts from catkin to colcon.
  • Run CI with Dockerfiles for Foxy and Dashing.

These are stubs at the moment and only build cartographer,
but can be easily extended.

Signed-off-by: Michael Grupp <[email protected]>
Signed-off-by: Michael Grupp <[email protected]>
@MichaelGrupp
Copy link
Contributor Author

Build and test looks fine, see the Travis logs. I would like to merge this before doing further steps like #1542.

@clalancette Maybe you can also have a look. I literally started working ROS2 this week out of interest ;)

Copy link

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pointed out a couple of minor things I noticed here.

cd catkin_ws/src
# Create a new workspace in 'dev_ws'.
mkdir -p dev_ws/src
cd dev_ws/src
wstool init

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably a good opportunity to switch from wstool -> vcstool, since wstool is indeed deprecated (and now unmaintained).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would do this this as a separate change because it also needs to be done in the ROS1 code. I made a todo issue: #1549


FROM osrf/ros:dashing-desktop

ARG CARTOGRAPHER_VERSION=master

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really familiar with how cartographer CI generally works, but shouldn't this be ros2-dashing? Same for Dockerfile.foxy below.

Copy link
Contributor Author

@MichaelGrupp MichaelGrupp Nov 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just means that we use master of the cartographer core library. The ROS part is the correct branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants