Skip to content

Commit cf52a75

Browse files
author
shakuevda
committed
add_devices_core
1 parent 6b56437 commit cf52a75

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed

docker/run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ CONTAINER_NAME=stingray_core
77
echo "[INFO] Запуск контейнера $CONTAINER_NAME..."
88

99
docker run -it --rm \
10-
--user $(id -u):$(id -g) \
1110
--name $CONTAINER_NAME \
1211
--network host \
1312
-v $(pwd):/stingray_core \
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cmake_minimum_required(VERSION 3.8)
2+
project(stingray_core_devices)
3+
4+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
5+
add_compile_options(-Wall -Wextra -Wpedantic)
6+
endif()
7+
8+
# find dependencies
9+
find_package(ament_cmake REQUIRED)
10+
find_package(rclcpp REQUIRED)
11+
find_package(std_msgs REQUIRED)
12+
13+
if(BUILD_TESTING)
14+
find_package(ament_lint_auto REQUIRED)
15+
# the following line skips the linter which checks for copyrights
16+
# comment the line when a copyright and license is added to all source files
17+
set(ament_cmake_copyright_FOUND TRUE)
18+
# the following line skips cpplint (only works in a git repo)
19+
# comment the line when this package is in a git repo and when
20+
# a copyright and license is added to all source files
21+
set(ament_cmake_cpplint_FOUND TRUE)
22+
ament_lint_auto_find_test_dependencies()
23+
endif()
24+
25+
ament_package()
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0"?>
2+
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
3+
<package format="3">
4+
<name>stingray_core_devices</name>
5+
<version>0.0.0</version>
6+
<description>TODO: Package description</description>
7+
<maintainer email="root@todo.todo">root</maintainer>
8+
<license>TODO: License declaration</license>
9+
10+
<buildtool_depend>ament_cmake</buildtool_depend>
11+
12+
<depend>rclcpp</depend>
13+
<depend>std_msgs</depend>
14+
15+
<test_depend>ament_lint_auto</test_depend>
16+
<test_depend>ament_lint_common</test_depend>
17+
18+
<export>
19+
<build_type>ament_cmake</build_type>
20+
</export>
21+
</package>

0 commit comments

Comments
 (0)