-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ports/3_to_4' into main (#104)
Signed-off-by: Michael Carroll <michael@openrobotics.org>
- Loading branch information
Showing
101 changed files
with
8,719 additions
and
4,509 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
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,13 @@ | ||
libavcodec-dev | ||
libavdevice-dev | ||
libavformat-dev | ||
libavutil-dev | ||
libfreeimage-dev | ||
libgts-dev | ||
libignition-cmake2-dev | ||
libignition-math6-dev | ||
libswscale-dev | ||
libtinyxml2-dev | ||
pkg-config | ||
ruby-ronn | ||
uuid-dev |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Ubuntu CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
bionic-ci: | ||
runs-on: ubuntu-latest | ||
name: Ubuntu Bionic CI | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Compile and test | ||
id: ci | ||
uses: ignition-tooling/action-ignition-ci@master | ||
with: | ||
codecov-token: ${{ secrets.CODECOV_TOKEN }} | ||
focal-ci: | ||
runs-on: ubuntu-latest | ||
name: Ubuntu Focal CI | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Compile and test | ||
id: ci | ||
uses: ignition-tooling/action-ignition-ci@focal |
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,6 +1,6 @@ | ||
name: PR Collection Labeler | ||
|
||
on: pull_request | ||
on: pull_request_target | ||
|
||
jobs: | ||
pr_collection_labeler: | ||
|
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,7 +1,7 @@ | ||
on: | ||
issues: | ||
types: [opened] | ||
pull_request: | ||
pull_request_target: | ||
types: [opened] | ||
name: Ticket opened | ||
jobs: | ||
|
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,7 +1,4 @@ | ||
# CMake folders | ||
build | ||
build_* | ||
|
||
# OS generated files | ||
.DS_Store | ||
*.swp |
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
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
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
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,14 +1,18 @@ | ||
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | ||
|
||
# Find the ignition-common library | ||
find_package(ignition-common4 QUIET REQUIRED COMPONENTS events profiler) | ||
set(IGN_COMMON_VER 4) | ||
find_package(ignition-common${IGN_COMMON_VER} QUIET REQUIRED COMPONENTS events profiler) | ||
|
||
add_executable(assert_example assert_example.cc) | ||
target_link_libraries(assert_example ignition-common4::core) | ||
target_link_libraries(assert_example ignition-common${IGN_COMMON_VER}::core) | ||
|
||
add_executable(console_example console.cc) | ||
target_link_libraries(console_example ignition-common${IGN_COMMON_VER}::core) | ||
|
||
add_executable(events_example events.cc) | ||
target_link_libraries(events_example ignition-common4::events) | ||
target_link_libraries(events_example ignition-common${IGN_COMMON_VER}::events) | ||
|
||
add_executable(profiler_example profiler.cc) | ||
target_link_libraries(profiler_example ignition-common4::profiler) | ||
target_link_libraries(profiler_example ignition-common${IGN_COMMON_VER}::profiler) | ||
target_compile_definitions(profiler_example PUBLIC "IGN_PROFILER_ENABLE=1") |
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,25 @@ | ||
# Examples | ||
|
||
These examples demonstrate various Ignition Common features. | ||
|
||
## Build | ||
|
||
After installing Ignition Common, from source or from binaries, build with: | ||
|
||
``` | ||
git clone https://github.com/ignitionrobotics/ign-common/ | ||
cd ign-common/examples | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
``` | ||
|
||
## Run | ||
|
||
One execuable is created inside the `build` folder for each example. | ||
|
||
You can run each executable from the build folder with `./executablename`. For example: | ||
|
||
`./events_example` | ||
|
Oops, something went wrong.