-
Notifications
You must be signed in to change notification settings - Fork 92
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
Compile on ROS2 Foxy #153
Compile on ROS2 Foxy #153
Changes from 6 commits
d42687e
be81fea
4e93258
693ac02
e9ae993
b2f47d9
c054af9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,14 @@ notifications: | |
- [email protected] | ||
env: | ||
global: | ||
- ROS_DISTRO=dashing | ||
- ROS_DISTRO=foxy | ||
- ROS_REPO=ros | ||
- UPSTREAM_WORKSPACE=geometric_shapes.repos | ||
- CXXFLAGS="-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls -Wno-unused-parameter" | ||
- WARNINGS_OK=false | ||
matrix: | ||
- TEST="clang-format, ament_lint" | ||
- ROS_DISTRO=dashing | ||
- ROS_DISTRO=eloquent TEST=code-coverage | ||
- TEST="ament_lint" # TODO(henningkayser): re-enable clang-format | ||
- ROS_DISTRO=foxy TEST=code-coverage | ||
|
||
matrix: | ||
include: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
<depend>rclcpp</depend> | ||
<depend>boost</depend> | ||
<depend>eigen_stl_containers</depend> | ||
<depend>libconsole-bridge-dev</depend> | ||
<depend>console_bridge_vendor</depend> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. First they make quite a fuss about having console-bridge as a ROS-agnostic library and now people rely on a bad, i.e. using externalproject in cmake instead of adapting the package, wrapper to build it in their workspaces??? Is this really required and the official way to do so? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm also a bit confused about this. What I noticed is that you might end up with different There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ahcorde @clalancette could one of you enlighten us on why this is needed and why you did not adapt the upstream repository (which is the recommended way to package ros-agnostic packages at least in ROS) but go for the ExternalProject approach? @henningkayser This question is independent of my approval here though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I don't really have much context here. Can you clarify your question a bit more? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @clalancette thanks for asking back. My question is whether and why all ROS2 projects should switch to The second part of the question is why I highlighted you because you are involved with the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to add, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I wasn't involved in the original vendoring. However, I believe the original reason we ended up vendoring
My understanding is that you need both, but I don't have a good explanation of why. Maybe @dirk-thomas can comment on why https://github.com/ros2/urdfdom/blob/ros2/package.xml depends on both. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Since |
||
<depend>libqhull</depend> | ||
<depend>octomap</depend> | ||
<depend>random_numbers</depend> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang format does not work yet for ROS 2? Is this because there isn't an agreement on version number yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not about the version number, we need a new configuration that should be applied to all repos. clang-format-3.9 is not available on Ubuntu 20.04 so I disabled it in CI. We could temporarily run clang-format-3.9 on the eloquent image (like moveit/moveit2@7aea7a7)