Skip to content

Commit a56efb8

Browse files
Merge pull request #4 from ROBOTIS-GIT/feature-cyclo
Initial version of cyclo_control
2 parents e74cb64 + 30317d2 commit a56efb8

181 files changed

Lines changed: 16956 additions & 863 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ros-ci.yml

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,6 @@ jobs:
4949
with:
5050
required-ros-distributions: ${{ matrix.ros_distribution }}
5151

52-
- name: Install OSQP and OsqpEigen
53-
shell: bash
54-
run: |
55-
set -e
56-
apt-get update
57-
apt-get install -y --no-install-recommends git cmake build-essential pkg-config
58-
59-
git clone --depth 1 https://github.com/osqp/osqp.git /tmp/osqp
60-
cmake -S /tmp/osqp -B /tmp/osqp/build -G "Unix Makefiles"
61-
cmake --build /tmp/osqp/build
62-
cmake --build /tmp/osqp/build --target install
63-
64-
git clone --depth 1 https://github.com/robotology/osqp-eigen.git /tmp/osqp-eigen
65-
cmake -S /tmp/osqp-eigen -B /tmp/osqp-eigen/build -DCMAKE_INSTALL_PREFIX=/usr/local
66-
cmake --build /tmp/osqp-eigen/build
67-
cmake --build /tmp/osqp-eigen/build --target install
68-
6952
- name: Check and Install ROS dependencies
7053
shell: bash
7154
run: |
@@ -74,29 +57,24 @@ jobs:
7457
echo "--- Updating rosdep definitions ---"
7558
rosdep update
7659
echo "--- Installing system dependencies for ROS 2 ${{ matrix.ros_distribution }} ---"
77-
rosdep install --from-paths ros_ws/src --ignore-src -y -r --rosdistro ${{ matrix.ros_distribution }} --skip-keys "osqp-eigen robotis_interfaces"
60+
rosdep install --from-paths ros_ws/src --ignore-src -y -r --rosdistro ${{ matrix.ros_distribution }} --skip-keys robotis_interfaces
7861
echo "--- Performing rosdep check for ROS 2 ${{ matrix.ros_distribution }} ---"
79-
if rosdep check --from-paths ros_ws/src --ignore-src --rosdistro ${{ matrix.ros_distribution }} --skip-keys "osqp-eigen robotis_interfaces"; then
62+
if rosdep check --from-paths ros_ws/src --ignore-src --rosdistro ${{ matrix.ros_distribution }} --skip-keys robotis_interfaces; then
8063
echo "--- rosdep check passed ---"
8164
else
8265
echo "--- rosdep check failed: Missing system dependencies or unresolvable keys. ---"
8366
exit 1
8467
fi
8568
8669
- name: Build and Test
87-
env:
88-
CMAKE_PREFIX_PATH: /usr/local:${{ env.CMAKE_PREFIX_PATH }}
89-
OsqpEigen_DIR: /usr/local/lib/cmake/OsqpEigen
90-
LD_LIBRARY_PATH: /usr/local/lib:${{ env.LD_LIBRARY_PATH }}
9170
uses: ros-tooling/action-ros-ci@v0.3
9271
with:
9372
target-ros2-distro: ${{ matrix.ros_distribution }}
94-
vcs-repo-file-url: "https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_motion_controller/${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}/robotis_motion_controller_ci.repos"
73+
vcs-repo-file-url: "https://raw.githubusercontent.com/ROBOTIS-GIT/cyclo_control/${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}/cyclo_control_ci.repos"
9574
package-name: |
96-
motion_controller
97-
motion_controller_core
98-
motion_controller_models
99-
motion_controller_ros
100-
motion_controller_ros_py
101-
rosdep-skip-keys: osqp-eigen
102-
no-symlink-install: true
75+
cyclo_motion_controller
76+
osqp_eigen_vendor
77+
cyclo_motion_controller_core
78+
cyclo_motion_controller_models
79+
cyclo_motion_controller_ros
80+
cyclo_motion_controller_ros_py

.github/workflows/ros-lint.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
# The name of the workflow
12
name: Lint
3+
4+
# Specifies the events that trigger the workflow
25
on:
36
pull_request:
7+
8+
# Defines a set of jobs to be run as part of the workflow
49
jobs:
510
ament_lint:
6-
runs-on: ubuntu-24.04
11+
runs-on: ubuntu-latest
712
container:
813
image: rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-ros-base-latest
914
strategy:
@@ -25,8 +30,9 @@ jobs:
2530
linter: ${{ matrix.linter }}
2631
distribution: rolling
2732
package-name: |
28-
motion_controller
29-
motion_controller_core
30-
motion_controller_models
31-
motion_controller_ros
32-
motion_controller_ros_py
33+
cyclo_motion_controller
34+
osqp_eigen_vendor
35+
cyclo_motion_controller_core
36+
cyclo_motion_controller_models
37+
cyclo_motion_controller_ros
38+
cyclo_motion_controller_ros_py

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,3 +531,6 @@ doc/
531531

532532
## GurumDDS
533533
*.ar
534+
535+
**/key.pem
536+
**/cert.pem

0 commit comments

Comments
 (0)