Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d9d8220
DDS data publication implementation
juanlofer-eprosima Jan 9, 2025
a9d2f43
Skip null JSON elements
juanlofer-eprosima Jan 9, 2025
d363d3d
Resolve conflicts
EugenioCollado Jan 27, 2025
5746d42
Overload create_dds_enabler with configuration
EugenioCollado Jan 29, 2025
057fe21
Fix tests
EugenioCollado Jan 29, 2025
d2b2fbd
Use CDRv1 when serializing data to be published
juanlofer-eprosima Apr 24, 2025
32c6f3b
Rebase fixes and updates
juanlofer-eprosima May 9, 2025
422ab7a
TMP: use custom artifact in CI
juanlofer-eprosima May 9, 2025
cd69e31
Store DomainParticipantFactory reference in DDSEnabler objects
juanlofer-eprosima May 20, 2025
866195f
Change unique_ptr to shared_ptr in create_dds_enabler
juanlofer-eprosima May 20, 2025
aeabbbf
Tackle pending TODOs
juanlofer-eprosima May 27, 2025
bebf129
Uncrustify all
juanlofer-eprosima May 27, 2025
18db200
Fix Windows compilation
juanlofer-eprosima May 27, 2025
e07a0e4
Disable tests for unsupported optional types
juanlofer-eprosima May 29, 2025
740dcc4
Refactor participant tests
juanlofer-eprosima May 29, 2025
96edac6
Rename request callbacks to query
juanlofer-eprosima May 30, 2025
cb6ea31
Add publish Docker tests
juanlofer-eprosima Jun 4, 2025
65746ce
Compile example in CI
juanlofer-eprosima Jun 4, 2025
5c07ab6
Polish public API and export missing Dlls
juanlofer-eprosima Jun 4, 2025
ea36710
Remove nlohmann JSON include in headers
juanlofer-eprosima Jun 4, 2025
4588279
Uncrustify
juanlofer-eprosima Jun 4, 2025
79d9c19
Add missing doxygen of public API
juanlofer-eprosima Jun 6, 2025
1ce12dd
Apply suggestions
juanlofer-eprosima Jun 12, 2025
71da6f2
Add .gitignore
juanlofer-eprosima Jun 12, 2025
7eb18b2
Apply pending suggestion
juanlofer-eprosima Jun 12, 2025
94a8392
Remove use of designated initializers (Windows...)
juanlofer-eprosima Jun 13, 2025
bdbf445
Super NIT
juanlofer-eprosima Jun 13, 2025
b2ced8f
Pull ROS 2 image before running tests
juanlofer-eprosima Jun 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/docker-reusable-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,21 @@ jobs:
-t ${{ env.DDSENABLER_COMPOSE_TEST_DOCKER_IMAGE }} \
-f Dockerfile .

# Check Docker images exist
- name: Check if Docker images exist
# Check DDS Enabler Docker images exist
- name: Check if DDS Enabler Docker images exist
run: |
[ -n "$(docker images -q ${{ env.DDSENABLER_COMPOSE_TEST_DOCKER_IMAGE }})" ] || echo "DDS Enabler Docker image does not exists"
[ -n "$(docker images -q ${{ env.DDSENABLER_COMPOSE_TEST_DOCKER_IMAGE }})" ] || echo "DDS Enabler Docker image does not exist"

# Pull ROS 2 Docker image
- name: Pull ROS 2 Docker image
run: |
docker image pull \
${{ env.DDSENABLER_COMPOSE_TEST_ROS2_DOCKER_IMAGE }}

# Check ROS 2 Docker images exist
- name: Check if ROS 2 Docker images exist
run: |
[ -n "$(docker images -q ${{ env.DDSENABLER_COMPOSE_TEST_ROS2_DOCKER_IMAGE }})" ] || echo "ROS 2 Docker image does not exist"

- name: Download dependencies and install requirements
uses: ./src/.github/actions/project_dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: eProsima/eProsima-CI/multiplatform/colcon_build_test@main
with:
packages_names: ${{ env.code_packages_names }}
cmake_args: -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }}
cmake_args: -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} -DCOMPILE_EXAMPLES=ON
workspace_dependencies: install
ctest_args: --label-exclude "xfail"
colcon_meta_file: src/.github/workflows/configurations/${{ runner.os }}/colcon.meta
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
dependencies_artifact_postfix:
description: 'Postfix name to add to artifact name to download dependencies. This is use to download a specific artifact version from eProsima-CI.'
required: true
default: '_nightly'
default: '_ddsenabler'

pull_request:
push:
Expand All @@ -51,15 +51,15 @@ jobs:
name: reusable_tests
uses: ./.github/workflows/reusable-ubuntu-ci.yml
with:
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }}
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_ddsenabler' }}
ref: ${{ github.ref }}
secrets: inherit

reusable_tests_windows:
name: reusable_tests
uses: ./.github/workflows/reusable-windows-ci.yml
with:
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }}
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_ddsenabler' }}
ref: ${{ github.ref }}
secrets: inherit

Expand All @@ -72,6 +72,6 @@ jobs:
devutils_branch: ${{ inputs.devutils_branch || 'main' }}
ddspipe_branch: ${{ inputs.ddspipe_branch || 'main' }}
ddsenabler_branch: ${{ inputs.ddsenabler_branch || github.head_ref || github.ref_name }}
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }}
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_ddsenabler' }}
ref: ${{ github.ref }}
secrets: inherit
64 changes: 64 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

### C++ ###
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

### Vim ###
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~
# auto-generated tag files
tags

build/
install/
log/

### Visual Studio ###
.vs

### Visual Studio Code ###
.vscode

### Documentation ###
docs/rst/_static/css/online_eprosima_rtd_theme.css


### Python ###
# Precompile files
__pycache__
4 changes: 3 additions & 1 deletion ddsenabler/DDS_ENABLER_CONFIGURATION.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
}
]
},
"ddsenabler": null,
"ddsenabler": {
"initial-publish-wait": 500
},
"specs": {
"threads": 12,
"logging": {
Expand Down
1 change: 1 addition & 0 deletions ddsenabler/DDS_ENABLER_CONFIGURATION.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dds:

# DDS Enabler configuration
ddsenabler:
initial-publish-wait: 500

#Specs configuration
specs:
Expand Down
Loading
Loading