forked from a2s-institute/freddy_description
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from secorolab/feature/refactor
Feature/refactor
- Loading branch information
Showing
89 changed files
with
5,368 additions
and
1,981 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: jazzy | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
target-ros2-distro: jazzy | ||
vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/ci_dep.repos" | ||
package-name: kortex_description robotiq_description eddie_description |
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,9 @@ | ||
repositories: | ||
ros2_kortex: | ||
type: git | ||
url: https://github.com/secorolab/ros2_kortex.git | ||
version: main | ||
ros2_robotiq_gripper: | ||
type: git | ||
url: https://github.com/PickNikRobotics/ros2_robotiq_gripper.git | ||
version: main |
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,31 @@ | ||
name: Formatting and Linting | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
setup-build-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pre-commit | ||
- uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: pre-commit-${{ runner.os }}-${{ hashFiles('**/.pre-commit-config.yaml') }} | ||
restore-keys: | | ||
pre-commit-${{ runner.os }}- | ||
- name: Run pre-commit checks | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks | ||
# Run pre-commit checks | ||
pre-commit run --show-diff-on-failure --color=always --all-files |
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 @@ | ||
.ruff_cache |
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,17 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: check-xml | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.7.4 | ||
hooks: | ||
- id: ruff | ||
args: [--line-length=100, --fix] | ||
- id: ruff-format | ||
- repo: https://github.com/google/yamlfmt | ||
rev: v0.10.0 | ||
hooks: | ||
- id: yamlfmt | ||
args: ['-formatter', 'max_line_length=100'] |
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 @@ | ||
cmake_minimum_required(VERSION 3.12) | ||
project(eddie_description) | ||
|
||
# Find dependencies | ||
find_package(ament_cmake REQUIRED) | ||
|
||
# Install the xacro and dae files | ||
install(DIRECTORY urdf meshes launch config | ||
DESTINATION share/${PROJECT_NAME} | ||
) | ||
|
||
# Add ament package macros | ||
ament_package() |
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,8 @@ | ||
# NOTE: Used for both 6 and 7 dof bots. The joint_7 value will be unused for 6 dof bots | ||
joint_1: -0.70 | ||
joint_2: -2.05 | ||
joint_3: 2.14 | ||
joint_4: -2.44 | ||
joint_5: -1.57 | ||
joint_6: 0.00 | ||
joint_7: 0.0 |
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ joint_3: 0.90 | |
joint_4: 2.44 | ||
joint_5: 1.57 | ||
joint_6: 0.00 | ||
joint_7: 0.0 | ||
joint_7: 0.0 |
Oops, something went wrong.