Skip to content

Commit 0c72661

Browse files
authored
Merge pull request #37 from BerkeleyAutomation/gh_actions_release
Migrate to drivers-only setup
2 parents 99f66e6 + 1bbe2e4 commit 0c72661

Some content is hidden

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

73 files changed

+2311
-12519
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release autolab_perception
1+
name: Release Perception
22

33
on:
44
push:
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Formatting
1919
run: |
2020
python -m pip install --upgrade pip
21-
pip install autopep8 flake8
21+
pip install black flake8
2222
- name: Check Formatting
2323
run: |
2424
flake8 --config=.flake8 .
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
34+
python-version: [3.6, 3.7, 3.8, 3.9]
3535
os: [ubuntu-latest, macos-latest, windows-latest]
3636

3737
steps:

.github/workflows/test.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
- name: Check Formatting
1919
run: |
2020
flake8 --config=.flake8 .
21-
black -l 79 --check
21+
black -l 79 --check .
2222
2323
tests:
2424
name: Run Unit Tests
2525
runs-on: ${{ matrix.os }}
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
python-version: [3.5, 3.8]
29+
python-version: [3.6, 3.7, 3.8, 3.9]
3030
os: [ubuntu-latest, windows-latest, macos-latest]
3131
steps:
3232
- uses: actions/checkout@v2
@@ -40,10 +40,5 @@ jobs:
4040
pip install nose2
4141
- name: Install Perception
4242
run: pip install .
43-
- name: MPL Configure
44-
run: |
45-
export MPL_DIR=`python -c 'import matplotlib; print(matplotlib.get_configdir())'`
46-
mkdir -p ${MPL_DIR}
47-
touch ${MPL_DIR}/matplotlibrc
4843
- name: Run Nose Tests
4944
run: nose2

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
## Berkeley Autolab Perception Module
22

3-
[![Build Status](https://travis-ci.org/BerkeleyAutomation/perception.svg?branch=master)](https://travis-ci.org/BerkeleyAutomation/perception)
3+
[![Github Actions](https://github.com/BerkeleyAutomation/perception/actions/workflows/release.yml/badge.svg)](https://github.com/BerkeleyAutomation/perception/actions) [![PyPI version](https://badge.fury.io/py/autolab_perception.svg)](https://badge.fury.io/py/autolab_perception)
44

55
This package provides a wide variety of useful tools for perception tasks.
66
It directly depends on the [Berkeley Autolab Core
77
module](https://www.github.com/BerkeleyAutomation/autolab_core), so be sure to install
88
that first.
99
View the install guide and API documentation for the perception module
10-
[here](https://BerkeleyAutomation.github.io/perception).
10+
[here](https://BerkeleyAutomation.github.io/perception). Dependencies for each driver are not automatically installed, so please install ROS or camera-specific drivers separately before using these wrappers.
11+
12+
NOTE: As of May 4, 2021, this package no longer supports Python versions 3.5 or lower as these versions have reached EOL. In addition, many modules have been moved to `autolab_core` to reduce confusion. This repository now will contain sensor drivers and interfaces only. If you wish to use older Python versions or rely on the old modules, please use the 0.x.x series of tags.

cfg/tools/analyze_cnn_classification.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

cfg/tools/analyze_cnn_classification_real_lego.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

cfg/tools/finetune_classification_cnn.yaml

Lines changed: 0 additions & 72 deletions
This file was deleted.

data/images/cat.jpg

-81.2 KB
Binary file not shown.

data/images/guitar.jpg

-7.11 KB
Binary file not shown.

0 commit comments

Comments
 (0)