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

Workflow #1

Merged
merged 5 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
27 changes: 27 additions & 0 deletions .github/workflows/foxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: foxy

on: [push, pull_request]

jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: foxy, ROS_REPO: main}
runs-on: ubuntu-latest
steps:
- name: checkout zlac_ros2
uses: actions/checkout@v4
with:
path: src/zlac_ros2

- name: checkout serial
uses: actions/checkout@v4
with:
repository: joshnewans/serial
path: src/serial

- name: industrial_ci
uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}

27 changes: 27 additions & 0 deletions .github/workflows/humble.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: humble

on: [push, pull_request]

jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: humble, ROS_REPO: main}
runs-on: ubuntu-latest
steps:
- name: checkout zlac_ros2
uses: actions/checkout@v4
with:
path: src/zlac_ros2

- name: checkout serial
uses: actions/checkout@v4
with:
repository: joshnewans/serial
path: src/serial

- name: industrial_ci
uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}

27 changes: 27 additions & 0 deletions .github/workflows/iron.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: iron

on: [push, pull_request]

jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: iron, ROS_REPO: main}
runs-on: ubuntu-latest
steps:
- name: checkout zlac_ros2
uses: actions/checkout@v4
with:
path: src/zlac_ros2

- name: checkout serial
uses: actions/checkout@v4
with:
repository: joshnewans/serial
path: src/serial

- name: industrial_ci
uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}

27 changes: 27 additions & 0 deletions .github/workflows/rolling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: rolling

on: [push, pull_request]

jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: rolling, ROS_REPO: main}
runs-on: ubuntu-latest
steps:
- name: checkout zlac_ros2
uses: actions/checkout@v4
with:
path: src/zlac_ros2

- name: checkout serial
uses: actions/checkout@v4
with:
repository: joshnewans/serial
path: src/serial

- name: industrial_ci
uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
# ZLAC8015 ROS 2 motor hardware interface

![foxy badge](https://github.com/JosefGst/zlac_ros2/actions/workflows/foxy.yaml/badge.svg)
![humble badge](https://github.com/JosefGst/zlac_ros2/actions/workflows/humble.yaml/badge.svg)
![iron badge](https://github.com/JosefGst/zlac_ros2/actions/workflows/iron.yaml/badge.svg)
![rolling badge](https://github.com/JosefGst/zlac_ros2/actions/workflows/rolling.yaml/badge.svg)

ROS 2 hardware interface library package to use with ROS 2 control.

## Installation

vcs import .. < my.repos

## Wiring

terminal resistor switch is **on** for "right motor"
![wiring diagram](https://github.com/JosefGst/zlac_ros2/blob/master/assets/zlac%20wiring.png)

## Run example

basic example for testing

ros2 run zlac_ros2 zlac8015_example