forked from PRBonn/kiss-icp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More robust detection of ROS 1 vs ROS 2 (PRBonn#107)
* add .vscode to ignore files * FIX: Allow using colcon to build for ROS 1 * Add ros_environment dependency to expose ROS_VERSION env var in build farms --------- Co-authored-by: Ignacio Vizzo <[email protected]>
- Loading branch information
1 parent
99ac940
commit ea91033
Showing
3 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -363,3 +363,6 @@ cython_debug/ | |
|
||
# End of https://www.toptal.com/developers/gitignore/api/python | ||
nn | ||
|
||
# VSCode | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,9 @@ | |
<maintainer email="[email protected]">ivizzo</maintainer> | ||
<license>MIT</license> | ||
|
||
<!-- Common ROS 1 / ROS 2 dependencies --> | ||
<build_depend>ros_environment</build_depend> | ||
|
||
<!-- ROS1 dependencies --> | ||
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend> | ||
<depend condition="$ROS_VERSION == 1">roscpp</depend> | ||
|