forked from HBRS-SDP/ss24-gazebo-simulation-freddy
-
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 #3 from secorolab/feature/refactor
Feature/refactor
- Loading branch information
Showing
33 changed files
with
1,705 additions
and
731 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 eddie_gazebo |
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 @@ | ||
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 | ||
eddie_description: | ||
type: git | ||
url: https://github.com/secorolab/eddie_description.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,22 @@ | ||
name: Publish docs with MkDocs via GitHub Pages | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Configure Git Credentials | ||
run: | | ||
git config user.name github-actions[bot] | ||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install ".[docs]" | ||
- name: Deploy MkDocs | ||
run: mkdocs gh-deploy --force |
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 |
---|---|---|
|
@@ -7,4 +7,6 @@ log/ | |
__pycache__/ | ||
*.pyc | ||
|
||
.ruff_cache | ||
|
||
venv/ |
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
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,37 @@ | ||
- ros_topic_name: "/clock" | ||
gz_topic_name: "/world/eddie_world/clock" | ||
ros_type_name: "rosgraph_msgs/msg/Clock" | ||
gz_type_name: "gz.msgs.Clock" | ||
direction: GZ_TO_ROS | ||
- ros_topic_name: "/cmd_vel" | ||
gz_topic_name: "/model/eddie/cmd_vel" | ||
ros_type_name: "geometry_msgs/msg/Twist" | ||
gz_type_name: "gz.msgs.Twist" | ||
direction: ROS_TO_GZ | ||
- ros_topic_name: "odom" | ||
gz_topic_name: "/model/eddie/odometry" | ||
ros_type_name: "nav_msgs/msg/Odometry" | ||
gz_type_name: "gz.msgs.Odometry" | ||
direction: "GZ_TO_ROS" | ||
- ros_topic_name: "imu" | ||
gz_topic_name: "/eddie_imu" | ||
ros_type_name: "sensor_msgs/msg/Imu" | ||
gz_type_name: "gz.msgs.IMU" | ||
direction: GZ_TO_ROS | ||
# Laser scan topics | ||
- ros_topic_name: "scan" | ||
gz_topic_name: "/eddie_front_right_laser" | ||
ros_type_name: "sensor_msgs/msg/LaserScan" | ||
gz_type_name: "gz.msgs.LaserScan" | ||
direction: GZ_TO_ROS | ||
# - ros_topic_name: "scan" | ||
# gz_topic_name: "/eddie_rear_left_laser" | ||
# ros_type_name: "sensor_msgs/msg/LaserScan" | ||
# gz_type_name: "gz.msgs.LaserScan" | ||
# direction: GZ_TO_ROS | ||
# odom to base_footprint transform | ||
- ros_topic_name: "/tf" | ||
gz_topic_name: "/model/eddie/pose" | ||
ros_type_name: "tf2_msgs/msg/TFMessage" | ||
gz_type_name: "gz.msgs.Pose_V" | ||
direction: GZ_TO_ROS |
File renamed without changes
File renamed without changes
File renamed without changes
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 @@ | ||
# Eddie Gazebo Simulation |
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,6 @@ | ||
:root { | ||
--md-primary-fg-color: #9d2246; | ||
--md-primary-fg-color--light: #d50c2f; | ||
--md-primary-fg-color--dark: #9d2246; | ||
--md-accent-fg-color: #f39ca9; | ||
} |
Oops, something went wrong.