forked from IMRCLab/crazyswarm2
-
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.
* examples: switch to cmake for symlink-install Workaround for colcon/colcon-core#407 Fixes IMRCLab#87
- Loading branch information
Showing
6 changed files
with
33 additions
and
46 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 |
---|---|---|
|
@@ -73,6 +73,9 @@ jobs: | |
- name: build and test ROS 2 | ||
uses: ros-tooling/[email protected] | ||
with: | ||
package-name: crazyflie crazyflie_interfaces | ||
package-name: | | ||
crazyflie | ||
crazyflie_examples | ||
crazyflie_interfaces | ||
target-ros2-distro: ${{ matrix.ros_distribution }} | ||
vcs-repo-file-url: rosinstall |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
project(crazyflie_examples) | ||
|
||
# find dependencies | ||
find_package(ament_cmake REQUIRED) | ||
find_package(ament_cmake_python REQUIRED) | ||
|
||
# Install Python modules | ||
ament_python_install_package(${PROJECT_NAME} SCRIPTS_DESTINATION lib/${PROJECT_NAME}) | ||
|
||
# Install launch and config files. | ||
install(DIRECTORY | ||
config | ||
data | ||
launch | ||
DESTINATION share/${PROJECT_NAME}/ | ||
) | ||
|
||
ament_package() |
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 |
---|---|---|
|
@@ -7,6 +7,9 @@ | |
<maintainer email="[email protected]">Wolfgang Hönig, Kimberly McGuire</maintainer> | ||
<license>MIT</license> | ||
|
||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
<buildtool_depend>ament_cmake_python</buildtool_depend> | ||
|
||
<depend>rclpy</depend> | ||
<depend>crazyflie_py</depend> | ||
|
||
|
@@ -16,6 +19,6 @@ | |
<test_depend>python3-pytest</test_depend> | ||
|
||
<export> | ||
<build_type>ament_python</build_type> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
[develop] | ||
script_dir=$base/lib/crazyflie_examples | ||
[install] | ||
install_scripts=$base/lib/crazyflie_examples | ||
[options.entry_points] | ||
console_scripts = | ||
hello_world = crazyflie_examples.hello_world:main | ||
nice_hover = crazyflie_examples.nice_hover:main | ||
figure8 = crazyflie_examples.figure8:main | ||
cmd_full_state = crazyflie_examples.cmd_full_state:main |
This file was deleted.
Oops, something went wrong.
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