Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
45 changes: 45 additions & 0 deletions .github/workflows/ci-humble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Humble

on:
push:
branches: [main, chore/*, feat/*, fix/*]
pull_request:
branches: [main]

jobs:
build-and-test:
runs-on: ubuntu-22.04
container: ros:humble-ros-base
env:
PIP_BREAK_SYSTEM_PACKAGES: "1"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup workspace
run: |
mkdir -p /tmp/ws/src
ln -s $GITHUB_WORKSPACE /tmp/ws/src/messages

- name: Install dependencies
run: |
apt-get update -y
apt-get install -y python3-colcon-common-extensions git
cd /tmp/ws
. /opt/ros/humble/setup.sh
rosdep update
rosdep install --from-paths src --ignore-src -r -y --rosdistro humble

- name: Build
run: |
cd /tmp/ws
. /opt/ros/humble/setup.sh
colcon build --packages-select muto_msgs

- name: Test
run: |
cd /tmp/ws
. /opt/ros/humble/setup.sh
. install/setup.sh
colcon test --packages-select muto_msgs --event-handlers console_direct+
colcon test-result --verbose
45 changes: 45 additions & 0 deletions .github/workflows/ci-jazzy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Jazzy

on:
push:
branches: [main, chore/*, feat/*, fix/*]
pull_request:
branches: [main]

jobs:
build-and-test:
runs-on: ubuntu-24.04
container: ros:jazzy-ros-base
env:
PIP_BREAK_SYSTEM_PACKAGES: "1"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup workspace
run: |
mkdir -p /tmp/ws/src
ln -s $GITHUB_WORKSPACE /tmp/ws/src/messages

- name: Install dependencies
run: |
apt-get update -y
apt-get install -y python3-colcon-common-extensions git
cd /tmp/ws
. /opt/ros/jazzy/setup.sh
rosdep update
rosdep install --from-paths src --ignore-src -r -y --rosdistro jazzy

- name: Build
run: |
cd /tmp/ws
. /opt/ros/jazzy/setup.sh
colcon build --packages-select muto_msgs

- name: Test
run: |
cd /tmp/ws
. /opt/ros/jazzy/setup.sh
. install/setup.sh
colcon test --packages-select muto_msgs --event-handlers console_direct+
colcon test-result --verbose
27 changes: 0 additions & 27 deletions .github/workflows/colcon-build.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-xml
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.0.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
14 changes: 14 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package muto_msgs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Forthcoming
-----------
* Initial release preparation for packages.ros.org
* Added ROS 2 message types for stack manifests, actions, and commands
* Added service definitions for command plugins and compose operations
* Added Thing and ThingHeaders messages for Ditto integration
* Added provision plugin message types
* Added pipeline service message types
* Added pre-commit hooks for code quality enforcement
* Contributors: Alp Sarıca, Ibrahim Sel, Naci Dai
35 changes: 17 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ find_package(ament_cmake REQUIRED)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# EPL-2.0 is not auto-detected by ament_copyright
set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
Expand All @@ -57,23 +57,22 @@ find_package(rosidl_default_generators REQUIRED)


rosidl_generate_interfaces(muto_msgs
"msg/CommandInput.msg"
"msg/CommandOutput.msg"
"msg/Gateway.msg"
"msg/MutoAction.msg"
"msg/MutoActionMeta.msg"
"msg/PlanManifest.msg"
"msg/PluginResponse.msg"
"msg/StackManifest.msg"
"msg/Thing.msg"
"msg/ThingHeaders.msg"
"msg/CommandInput.msg"
"msg/CommandOutput.msg"
"msg/Gateway.msg"
"msg/MutoAction.msg"
"msg/MutoActionMeta.msg"
"msg/PlanManifest.msg"
"msg/PluginResponse.msg"
"msg/StackManifest.msg"
"msg/Thing.msg"
"msg/ThingHeaders.msg"

"srv/CommandPlugin.srv"
"srv/ComposePlugin.srv"
"srv/NativePlugin.srv"
"srv/ProvisionPlugin.srv"
"srv/LaunchPlugin.srv"
"srv/CoreTwin.srv"
"srv/CommandPlugin.srv"
"srv/ComposePlugin.srv"
"srv/ProvisionPlugin.srv"
"srv/LaunchPlugin.srv"
"srv/CoreTwin.srv"
)

ament_package()
Loading