Commit e1a36fcd authored by Gallacchi Mattia's avatar Gallacchi Mattia
Browse files

Add sync and async move

parent 29e31f6e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@ build/
# python stuff
__pycache__/
*.exe
dist/
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ lint-black:
      allow_failure: false
  script:
    - poetry install --only lint
    - poetry run black --check spj/
    - poetry run black --check pyspj/

lint-pylint:
  stage: lint
@@ -30,7 +30,7 @@ lint-pylint:
      allow_failure: false
  script:
    - poetry install --only lint
    - poetry run pylint --fail-under=8 spj/
    - poetry run pylint --fail-under=8 pyspj/


deploy-job:      # This job runs only when the merge is accepted
+32 −0
Original line number Diff line number Diff line
# Spherical Parallel Joint Robot

This repository contains a python package named **pyspj** that allows to control the Spherical Parallel Joint device from Skyentific.
It also contains a small GUI application to control the device as well as the controller firmware.

## Install python dependencies

```bash
poetry install
```

## Add **pyspj** package to your project

If your project uses Poetry:

1. Add this repository as a source

```bash
poetry source add -s igib https://labinfo.ing.he-arc.ch/gitlab/api/v4/projects/2491/packages/pypi/simple 
```

2. Add the package from the added source

```bash
poetry add pyspj --source igib
```

## GUI application

The GUI application can be run using the following command

```bash
poetry run python frontend/main.py
```

dist/pyspj-0.1.0-py3-none-any.whl

deleted100644 → 0
−2.09 KiB

File deleted.

dist/pyspj-0.1.0.tar.gz

deleted100644 → 0
−2.09 KiB

File deleted.

Loading