Skip to content

Commit

Permalink
Merge pull request #37 from BerkeleyAutomation/gh_actions_release
Browse files Browse the repository at this point in the history
Migrate to drivers-only setup
  • Loading branch information
mjd3 authored May 4, 2021
2 parents 99f66e6 + 1bbe2e4 commit 0c72661
Show file tree
Hide file tree
Showing 73 changed files with 2,311 additions and 12,519 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release autolab_perception
name: Release Perception

on:
push:
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Install Formatting
run: |
python -m pip install --upgrade pip
pip install autopep8 flake8
pip install black flake8
- name: Check Formatting
run: |
flake8 --config=.flake8 .
Expand All @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
- name: Check Formatting
run: |
flake8 --config=.flake8 .
black -l 79 --check
black -l 79 --check .
tests:
name: Run Unit Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [3.5, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
Expand All @@ -40,10 +40,5 @@ jobs:
pip install nose2
- name: Install Perception
run: pip install .
- name: MPL Configure
run: |
export MPL_DIR=`python -c 'import matplotlib; print(matplotlib.get_configdir())'`
mkdir -p ${MPL_DIR}
touch ${MPL_DIR}/matplotlibrc
- name: Run Nose Tests
run: nose2
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
## Berkeley Autolab Perception Module

[![Build Status](https://travis-ci.org/BerkeleyAutomation/perception.svg?branch=master)](https://travis-ci.org/BerkeleyAutomation/perception)
[![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)

This package provides a wide variety of useful tools for perception tasks.
It directly depends on the [Berkeley Autolab Core
module](https://www.github.com/BerkeleyAutomation/autolab_core), so be sure to install
that first.
View the install guide and API documentation for the perception module
[here](https://BerkeleyAutomation.github.io/perception).
[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.

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.
13 changes: 0 additions & 13 deletions cfg/tools/analyze_cnn_classification.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions cfg/tools/analyze_cnn_classification_real_lego.yaml

This file was deleted.

72 changes: 0 additions & 72 deletions cfg/tools/finetune_classification_cnn.yaml

This file was deleted.

Binary file removed data/images/cat.jpg
Binary file not shown.
Binary file removed data/images/guitar.jpg
Binary file not shown.
Loading

0 comments on commit 0c72661

Please sign in to comment.