Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Dec 3, 2023
1 parent b160c85 commit a61ca91
Show file tree
Hide file tree
Showing 41 changed files with 1,412 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ros_build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ros_build_test

on:

push:
branches: [ devel ]

paths-ignore:
- '**/README.md'

pull_request:
branches: [ master ]

workflow_dispatch:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:

build:
uses: ctu-mrs/ci_scripts/.github/workflows/ros_build_test.yml@master
secrets:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/ros_package_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ros_package_build

on:

push:
branches: [ master ]

paths-ignore:
- '**/README.md'

workflow_dispatch:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:

build:
uses: ctu-mrs/ci_scripts/.github/workflows/ros_package_build.yml@master
secrets:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# ignore temp files
*~

# ignore vim temp files
*.swp
*.swo
*.swn

# Runtime-python
*.pyc
45 changes: 45 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
cmake_minimum_required(VERSION 3.5)
project(mrs_uav_testing)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")

set(CATKIN_DEPENDENCIES
cmake_modules
roscpp
mrs_lib
mrs_msgs
)

find_package(catkin REQUIRED COMPONENTS
${CATKIN_DEPENDENCIES}
)

catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS ${CATKIN_DEPENDENCIES}
)

include_directories(
include
${catkin_INCLUDE_DIRS}
)

if(CATKIN_ENABLE_TESTING)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")

add_subdirectory(test)

endif()

## --------------------------------------------------------------
## | Install |
## --------------------------------------------------------------

install(DIRECTORY include/mrs_uav_testing/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# mrs_uav_testing

Common templates and functions for rostesting the MRS UAV System.
Loading

0 comments on commit a61ca91

Please sign in to comment.