Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/refactor #1

Merged
merged 36 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7c2ba2c
updated mesh files for eddie
KishanSawant Nov 18, 2024
fa469b4
update folder structure
KishanSawant Nov 18, 2024
da0ebef
typo
KishanSawant Nov 18, 2024
486b394
fix launch file for loading rviz
KishanSawant Nov 18, 2024
1a94afb
rename and add world frame
KishanSawant Nov 18, 2024
0cf4aa7
renaming files and macros
vamsikalagaturu Nov 18, 2024
341c35f
added kinova gen3 arms
vamsikalagaturu Nov 18, 2024
7ed76ea
configure arms
KishanSawant Nov 18, 2024
3ec8627
added ros independent urdf and meshes for eddie
vamsikalagaturu Nov 18, 2024
f5e0080
added mesh files for robotiq and kinova
vamsikalagaturu Nov 20, 2024
2cccebf
refactor, add approx mass-inertia, todo: ctrl-gazebo
KishanSawant Nov 20, 2024
40cf147
update inertias, refactor
KishanSawant Nov 21, 2024
f4c31c2
fixed zero positions bug for joint state pub
vamsikalagaturu Nov 21, 2024
4bfe570
add control tags
KishanSawant Nov 21, 2024
8841784
add gazebo and control plugins
KishanSawant Nov 21, 2024
8ab37d7
removed redundant gazebo params
vamsikalagaturu Nov 22, 2024
d55f5f1
add state intf to wheel, rename jnt_state_gui
KishanSawant Nov 22, 2024
9484764
update base inertia
KishanSawant Nov 22, 2024
45bb9a9
disbaled robotiq gripper temporarily
vamsikalagaturu Nov 22, 2024
0484f62
decluttered and removed redundandant params
vamsikalagaturu Nov 24, 2024
746f177
updated material colors
vamsikalagaturu Nov 24, 2024
4b6b334
added pre-commit hook and gh workflow
vamsikalagaturu Nov 24, 2024
4e6f5a4
typo filename fix
vamsikalagaturu Nov 24, 2024
59ad2e7
fix: update launch file and README for correct display launch command…
vamsikalagaturu Nov 24, 2024
2400730
add wheel friction
KishanSawant Nov 25, 2024
48e1713
include use_kelo_tulip argument
KishanSawant Nov 25, 2024
c212f71
added laser scanenr
vamsikalagaturu Nov 27, 2024
63bba6e
add odom and imu links with joints to the URDF model
vamsikalagaturu Nov 28, 2024
ad310b7
remove odom link and joint from the URDF model; add gz_frame_id to ho…
vamsikalagaturu Nov 28, 2024
42aef6b
comment out surface friction settings in kelo_hub_wheel macro
vamsikalagaturu Nov 29, 2024
bfbdcfc
update laser link transforms and limits
KishanSawant Nov 29, 2024
bbcd0bd
uncomment surface friction settings in kelo_hub_wheel macro
vamsikalagaturu Dec 13, 2024
af7b73c
update friction values and add dynamics to kelo_hub_wheel and kelo_dr…
vamsikalagaturu Dec 13, 2024
5fc9ba0
add launch argument to enable kelo_tulip in display_eddie.launch.py
vamsikalagaturu Dec 15, 2024
910417c
add GitHub Actions workflow for testing build
vamsikalagaturu Dec 18, 2024
a574548
bug fix in linting workflow
vamsikalagaturu Dec 18, 2024
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
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
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/setup-ros@v0.7
with:
required-ros-distributions: jazzy
- uses: ros-tooling/action-ros-ci@v0.3
with:
target-ros2-distro: jazzy
vcs-repo-file-url: "${{ github.workspace }}/.github/workflows/ci_dep.repos"
package-name: kortex_description robotiq_description eddie_description
9 changes: 9 additions & 0 deletions .github/workflows/ci_dep.repos
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
31 changes: 31 additions & 0 deletions .github/workflows/format_and_lint.yml
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.ruff_cache
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
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']
13 changes: 13 additions & 0 deletions CMakeLists.txt
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()
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# Eddie Description

Robot description for the eddie robot in form of URDF files, controllers and meshes.
Robot description for the Eddie robot in form of URDF files, controllers and meshes.
Gripper not added.

## Environment
Tested on:
Ubuntu: 22.04
ROS2: Humble

Ubuntu: 24.04

ROS2: Jazzy

## Setup

- Clone this repository into your workspace

```bash
# Create workspace
mkdir -p ~/eddie_ws/src && cd ~/eddie_ws/src

# Clone repository
git clone https://github.com/secorolab/eddie_description.git -b gz-devel
git clone https://github.com/secorolab/eddie_description
```

- Build workspace
Expand All @@ -28,6 +29,14 @@ Tested on:
colcon build
```

- Clone ependendent packages

```bash
cd ~/eddie_ws/src

vcs import < eddie_description/dep.repos
```

## Usage

- View robot in rviz
Expand All @@ -39,15 +48,20 @@ Tested on:
source install/setup.bash

# View robot in rviz
ros2 launch eddie_description view_eddie.launch.py joint_state_gui:=false
ros2 launch eddie_description display_eddie.launch.py joint_state_gui:=false
```

- View robot in rviz with joint state gui

```bash
ros2 launch eddie_description view_eddie.launch.py joint_state_gui:=true
ros2 launch eddie_description display_eddie.launch.py joint_state_gui:=true
```

## ROS Independent

- The URDF and the mesh files for the whole Eddie robot including arms and Robotiq-2F-85 gripper are
available in the [eddie_urdf](eddie_urdf) folder.

## Eddie

![Eddie](media/eddie_default_rviz.png)
TODO: Image of Eddie with arms in rviz to be added
8 changes: 8 additions & 0 deletions config/initial_positions_arm_left.yaml
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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading
Loading