Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
25d1f48
updated runners in all packages in capabilities2_runner, capabilties2…
KalanaRatnayake Oct 4, 2024
73fa26b
Merge branch 'capabilities2-server-fabric' of https://github.com/AIRe…
KalanaRatnayake Oct 4, 2024
2ebac9e
added progress so sar
KalanaRatnayake Oct 7, 2024
8f74fc5
updated executor and runners
KalanaRatnayake Oct 17, 2024
9257b16
updated capabilities_server basic functionality
KalanaRatnayake Oct 22, 2024
6f7e8ea
completed updating capabilities server
KalanaRatnayake Oct 23, 2024
a1c2db5
added topic runner and service runner
KalanaRatnayake Oct 24, 2024
96480d3
added robotpose_runner and occupancygrid_runner
KalanaRatnayake Oct 25, 2024
e96802c
added yaml files for capabilities2_runner_nav2 package
KalanaRatnayake Oct 28, 2024
9c9c11e
started working on the capabilities2_runner_prompt
KalanaRatnayake Oct 28, 2024
b253767
added eleborated yaml and tinyxml snippetes
KalanaRatnayake Oct 28, 2024
3221221
minorfixes
KalanaRatnayake Oct 29, 2024
ff884f7
merged develop and resloved conflicts
KalanaRatnayake Oct 29, 2024
c33a2fd
fixed sql safety issue
KalanaRatnayake Oct 29, 2024
de45b17
tested sql safety complete
KalanaRatnayake Oct 29, 2024
3d8c35a
updated interface files
KalanaRatnayake Oct 29, 2024
23e41cd
added launch runners that start respective stacks
KalanaRatnayake Oct 29, 2024
15eb224
renamed launch runners
KalanaRatnayake Oct 30, 2024
a53df36
refactored code
KalanaRatnayake Nov 4, 2024
0270905
added and modifiled prompt_plan_x_runners
KalanaRatnayake Nov 6, 2024
281c3b5
improved interface descriptions
KalanaRatnayake Nov 7, 2024
699f371
minor corrections and modifications to capabilities2_executor with la…
KalanaRatnayake Nov 7, 2024
fb4adfb
launch issue fixed on capabilities2_executor
KalanaRatnayake Nov 10, 2024
4311aaf
moved capabilities2_fabric functionality to a seperate package with t…
KalanaRatnayake Nov 11, 2024
00a832a
improved documentation
KalanaRatnayake Nov 11, 2024
e6a3a45
improved the capability discovery via package.xml not have specific p…
KalanaRatnayake Nov 11, 2024
a6bd1b3
minor fix
KalanaRatnayake Nov 11, 2024
7ace6bc
work-in-progress commit. rewrote fabric to work asynchronously but mu…
KalanaRatnayake Nov 13, 2024
d929917
updated provider names and ffixes to fabric
KalanaRatnayake Nov 13, 2024
d12f37d
bug fixing complete on capabilities2_fabric
KalanaRatnayake Nov 13, 2024
43f2b42
updated lambda functions of runners in capabilities2_runner package. …
KalanaRatnayake Nov 13, 2024
301d29e
minor modifications
KalanaRatnayake Nov 14, 2024
a50ea25
rollback
KalanaRatnayake Nov 14, 2024
528dd17
minor fix
KalanaRatnayake Nov 15, 2024
713373e
worksssss without launch proxy
KalanaRatnayake Nov 15, 2024
02c3fa4
added standalone launch_runner inheriting from runner_base
KalanaRatnayake Nov 17, 2024
34cdf98
added docker image
KalanaRatnayake Nov 18, 2024
01faad9
added docker file
KalanaRatnayake Nov 18, 2024
c982eec
Update setup.md
KalanaRatnayake Nov 19, 2024
3f56fe8
Update CMakeLists.txt
KalanaRatnayake Nov 19, 2024
74dd472
Update CMakeLists.txt
KalanaRatnayake Nov 19, 2024
b47de03
Update CMakeLists.txt
KalanaRatnayake Nov 19, 2024
e2ad7df
Update CMakeLists.txt
KalanaRatnayake Nov 19, 2024
bc46b27
Update CMakeLists.txt
KalanaRatnayake Nov 19, 2024
b6945ac
Update CMakeLists.txt
KalanaRatnayake Nov 19, 2024
315c04d
fixed race conditions in capabilities2_fabric
KalanaRatnayake Nov 19, 2024
4363822
updated launch runner
KalanaRatnayake Nov 19, 2024
14fe880
added seperate launch for launch files
KalanaRatnayake Nov 19, 2024
e9777ea
added launch package in python
KalanaRatnayake Nov 19, 2024
89f87e8
minor change
KalanaRatnayake Nov 19, 2024
03e6ca2
added user name and password
KalanaRatnayake Nov 20, 2024
b4c980b
added user name and password
KalanaRatnayake Nov 20, 2024
cf81a02
added user name and password
KalanaRatnayake Nov 20, 2024
1fd3d17
minor fix
KalanaRatnayake Nov 20, 2024
72b6893
minor fix
KalanaRatnayake Nov 20, 2024
954c163
minor fix
KalanaRatnayake Nov 21, 2024
3e96884
added navstack launch to the main launch file as launching from launc…
KalanaRatnayake Nov 29, 2024
dfe616a
minor fixes
KalanaRatnayake Nov 29, 2024
e9b1acd
added gdb and xterm
KalanaRatnayake Nov 29, 2024
6694d25
Update setup_with_dev.md
KalanaRatnayake Dec 1, 2024
07c0489
Update setup_with_dev.md
KalanaRatnayake Dec 1, 2024
4df5be5
minor fixes
KalanaRatnayake Dec 2, 2024
ae16ac7
Merge branch 'capabilities2-server-fabric' of https://github.com/Coll…
KalanaRatnayake Dec 2, 2024
bf457f3
work in progress
KalanaRatnayake Dec 8, 2024
f28eb69
work-in-progress
KalanaRatnayake Jan 1, 2025
d02a4ab
updated codebase for review. still in progress
KalanaRatnayake Jan 7, 2025
7b197a0
updated plans
KalanaRatnayake Jan 7, 2025
ebca92d
minor fixes
KalanaRatnayake Jan 7, 2025
225db11
minor fixes
KalanaRatnayake Jan 8, 2025
5e97907
added succeed action server component to fabric
KalanaRatnayake Jan 9, 2025
330a7e5
added feedback to information
KalanaRatnayake Jan 9, 2025
2d4db85
added con-composable node
KalanaRatnayake Jan 10, 2025
07acc1f
fixed statetransition error
KalanaRatnayake Jan 12, 2025
28fac04
refactored the fabric code
KalanaRatnayake Jan 13, 2025
7278cee
Merge pull request #8 from CollaborativeRoboticsLab/remove-container
KalanaRatnayake Jan 13, 2025
6297a73
minor fixes
KalanaRatnayake Jan 14, 2025
3bd2e9d
completed threading implementation and tested sequential triggering
KalanaRatnayake Jan 15, 2025
541895b
completed testing of thread based fabric triggering using nav2 stack
KalanaRatnayake Jan 16, 2025
5af3992
resolved the issues
KalanaRatnayake Jan 16, 2025
a6627f3
Merge pull request #9 from CollaborativeRoboticsLab/adding-threads-to…
KalanaRatnayake Jan 16, 2025
375c30f
added lauunch proxy issue as a to-do taks
KalanaRatnayake Jan 16, 2025
4f759e4
refactored code
KalanaRatnayake Jan 26, 2025
588051f
refactored code and added status publishing
KalanaRatnayake Jan 27, 2025
cb7aeb1
added server interface for interacting with capabilities2_fabric via …
KalanaRatnayake Jan 27, 2025
c534de9
Added composable launch to capabilities2 fabric
KalanaRatnayake Jan 27, 2025
85f3791
started improving the events publishing system of capabilities2 server
KalanaRatnayake Jan 28, 2025
0fed03e
improved event publishing structure of capabilities2 server
KalanaRatnayake Feb 3, 2025
20bb080
Merge pull request #10 from CollaborativeRoboticsLab/adding-server-in…
KalanaRatnayake Feb 3, 2025
ae618e8
added capabilities_runners. integration not finished
KalanaRatnayake Feb 3, 2025
d5882fb
restored fabric to original and modified fabric client with completio…
KalanaRatnayake Feb 4, 2025
3749b53
fixed issues in the recursive functions used for extracting connectio…
KalanaRatnayake Feb 5, 2025
43bf4fa
added more runner for capabilities
KalanaRatnayake Feb 8, 2025
76e3f8f
updated various capabilities
KalanaRatnayake Feb 10, 2025
52c14df
completed prompt tools runner implementations
KalanaRatnayake Feb 10, 2025
944c90d
added new examples and sample cases for prompting
KalanaRatnayake Feb 10, 2025
819bf90
removed streaming option from prompt_runner commands as prompt_tools …
KalanaRatnayake Feb 11, 2025
24d178e
updated incorrect plugin.xml files
KalanaRatnayake Feb 12, 2025
10c5809
minor update to xml commands
KalanaRatnayake Feb 15, 2025
de0ac6c
successfully tested prompt_2.xml
KalanaRatnayake Feb 17, 2025
dbf7637
modified topic runner
KalanaRatnayake Feb 18, 2025
932fb51
added tf2 listnenr instead of subscribing to pose topic in robotpose_…
KalanaRatnayake Feb 18, 2025
89e7872
tested the robotpose_runner
KalanaRatnayake Feb 19, 2025
306153a
minor changes to plan generation
KalanaRatnayake Feb 25, 2025
5e83c88
updated prompt_runners to match prompt_tools modifications
KalanaRatnayake Feb 25, 2025
d782d51
minor modifications
KalanaRatnayake Feb 26, 2025
41a5a43
Merge pull request #12 from CollaborativeRoboticsLab/prompt-tools-tes…
KalanaRatnayake Feb 28, 2025
d7369ab
completed prompt-testing
KalanaRatnayake Mar 9, 2025
b9cee74
Merge pull request #13 from CollaborativeRoboticsLab/capabilities2-se…
KalanaRatnayake Mar 9, 2025
c0bed5f
Update readme.md
KalanaRatnayake Mar 28, 2025
5fa7fd0
added paper citation
KalanaRatnayake Apr 23, 2025
032da52
resolved tinyxml2 to use ros-provided version using tinyxml2-vendor p…
KalanaRatnayake Apr 28, 2025
4f4d080
Merge pull request #21 from CollaborativeRoboticsLab/tinyxml2-fix
KalanaRatnayake Apr 29, 2025
973efc2
moved event publishing related functionality to a new package and a h…
KalanaRatnayake Apr 29, 2025
553f4ea
[In progress] revamping event system
KalanaRatnayake Apr 30, 2025
bd8cc73
added event listener for debugging purposes
KalanaRatnayake May 6, 2025
66e7505
updated event msg structure
KalanaRatnayake May 6, 2025
f0a5ea9
completed event system testing
KalanaRatnayake May 7, 2025
bf0b45e
Merge pull request #22 from CollaborativeRoboticsLab/fix-event-publish
KalanaRatnayake May 7, 2025
d562129
moved fabric related functionality to a new repo
KalanaRatnayake May 7, 2025
d90596b
updated documentation
KalanaRatnayake May 7, 2025
0e975f5
tested
KalanaRatnayake May 7, 2025
c01d713
Merge pull request #25 from CollaborativeRoboticsLab/seperate-fabric
KalanaRatnayake May 7, 2025
25f7371
added foxglove dependencies and information
KalanaRatnayake May 7, 2025
9bd6059
minor modifications
KalanaRatnayake May 9, 2025
49d74b6
minor change
KalanaRatnayake May 11, 2025
b7b730f
minor updates to capabilities
KalanaRatnayake May 13, 2025
9226e6f
updated maintainer information
KalanaRatnayake May 15, 2025
adaee64
extended capability event functionality to support graph visualization
KalanaRatnayake Jun 20, 2025
6d48948
moved events into a new independent package for better integration
KalanaRatnayake Jul 3, 2025
ff72cf9
minor fix
KalanaRatnayake Jul 7, 2025
fdd8cfa
minor update
KalanaRatnayake Jul 18, 2025
b99a678
Merge pull request #26 from CollaborativeRoboticsLab/mod/ros-bridge-i…
KalanaRatnayake Aug 6, 2025
f7c804e
updated syntax on fabric xml
KalanaRatnayake Aug 6, 2025
ad29b27
added new multiplexer runners
KalanaRatnayake Aug 12, 2025
23cbb27
updated capabilities2 server backend and refactored runners
KalanaRatnayake Aug 13, 2025
dd7e5d7
minor modifiations after testing
KalanaRatnayake Aug 15, 2025
4657c75
updated event system to be compatible with multiplexing runners used …
KalanaRatnayake Aug 17, 2025
6a44873
redundant parameter cleaning
KalanaRatnayake Aug 17, 2025
8744271
Merge pull request #27 from CollaborativeRoboticsLab/fix/fix-control-…
KalanaRatnayake Aug 17, 2025
730f5f9
moved capability interfaces,providers and semantic interfaces together
KalanaRatnayake Aug 22, 2025
c554ebf
updated documentation
KalanaRatnayake Aug 22, 2025
92662a2
minor fixes
KalanaRatnayake Aug 22, 2025
27893bc
fixes to match code refactoring
KalanaRatnayake Aug 23, 2025
201b905
minor fixes after refactoring
KalanaRatnayake Aug 23, 2025
eed9d1c
Merge pull request #29 from CollaborativeRoboticsLab/fix/restructuting
KalanaRatnayake Aug 24, 2025
4e1f8eb
minor readme fix
KalanaRatnayake Sep 15, 2025
2dfa4f8
added humble devcontainer alongside jazzy
KalanaRatnayake Nov 18, 2025
39c93a2
added humble devcontainer alongside jazzy
KalanaRatnayake Nov 18, 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
30 changes: 30 additions & 0 deletions .devcontainer/humble/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM ros:humble

# Add vscode user with same UID and GID as your host system
# (modified from https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user#_creating-a-nonroot-user)
# ubuntu now has a 1000 user ubuntu
ARG USERNAME=ubuntu
ARG USER_UID=1000
ARG USER_GID=$USER_UID

RUN groupadd --gid $USER_GID $USERNAME \
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME

RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y \
sudo \
git \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME

# Switch from root to user
USER $USERNAME

# Rosdep update
RUN rosdep update

# Source the ROS setup file
RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc

# make sure folders exist
RUN mkdir -p ~/colcon_ws/src
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "jazzy base",
"name": "humble base",
"dockerFile": "Dockerfile",
"remoteUser": "ubuntu",
"containerEnv": {
Expand Down
File renamed without changes.
17 changes: 17 additions & 0 deletions .devcontainer/jazzy/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "jazzy base",
"dockerFile": "Dockerfile",
"remoteUser": "ubuntu",
"containerEnv": {
"DISPLAY": "${localEnv:DISPLAY}"
},
"runArgs": [
"--privileged",
"--network=host"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/home/ubuntu/colcon_ws/${localWorkspaceFolderBasename},type=bind",
"workspaceFolder": "/home/ubuntu/colcon_ws",
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.bash_history,target=/home/ubuntu/.bash_history,type=bind"
]
}
70 changes: 70 additions & 0 deletions .github/workflows/amd64_jazzy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: ROS Jazzy Capabilities2

on:
workflow_dispatch:

push:
branches:
- capabilities2-server-fabric
paths-ignore:
- README.md

pull_request:
branches:
- capabilities2-server-fabric
paths-ignore:
- README.md

env:
REGISTRY: ghcr.io
OWNER: collaborativeroboticslab
IMAGE_NAME: capabilities2


# https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
# only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

build-and-push-image:
runs-on: ubuntu-latest

permissions:
contents: write
packages: write

steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Check out the repository
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
run: |
docker login --username ${{ env.OWNER }} --password ${{ secrets.GH_PAT }} ghcr.io

- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64
push: true
tags: |
${{ env.REGISTRY }}/${{ env.OWNER }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.OWNER }}/${{ env.IMAGE_NAME }}:jazzy
build-args: |
GITHUB_USERNAME=${{ github.actor }}
GITHUB_PAT=${{ secrets.GH_PAT }}
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Michael Pritchard
Thomas Muller-dardelin
Kalana Rathnayake
Kalana Ratnayake
Buddhi Gamage
10 changes: 6 additions & 4 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@

- [x] names need to be in package/name format everywhere
- [x] better docs
- [ ] BUG: escape db function variables
- [x] BUG: handle "'" in db queries
- [x] BUG: escape db function variables
- [ ] close or change communication to launch proxy so that it can't be accessed from ros network
- [ ] BUG: handle "'" in db queries
- [ ] BUG: fix issue with connecting to services and actions started using launch proxy


## Features

- [x] try using ros package to find exports automatically
- [x] improve the event system
- [ ] implement provider definition handling in runner
- [ ] try using ros package to find exports automatically
- [ ] improve the event system
- [ ] move to established db handler lib
- [ ] better bt runner impl
1 change: 1 addition & 0 deletions capabilities2/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<maintainer email="[email protected]">Michael Pritchard</maintainer>
<maintainer email="[email protected]">mik-p</maintainer>
<maintainer email="[email protected]">Kalana Ratnayake</maintainer>

<author email="[email protected]">Michael Pritchard</author>

Expand Down
69 changes: 0 additions & 69 deletions capabilities2_executor/CMakeLists.txt

This file was deleted.

Empty file.
Loading