Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cláudio Gomes
URInterface
Commits
20118d07
Commit
20118d07
authored
Sep 09, 2020
by
Claudio Gomes
Browse files
published version to pypi
parent
9c4ef4c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
20118d07
...
...
@@ -15,11 +15,25 @@ The UR robot can be controlled remotely in various ways:
3.
Real-Time Data Exchange (RTDE): https://www.universal-robots.com/articles/ur/real-time-data-exchange-rtde-guide/
Allows to send and receive data with up to 500 Hz
## Installing URInterface from pip
```
pip install urinterface
```
## Installing URInterface locally (for development and local use)
Change to the root directory of this project and:
```
pip install -e .
```
## Setting up dev environment in PyCharm.
1.
Open the root of this repo as a new project from sources in PyCharm.
1.
Make sure that most root folders are set as project source folders (Settings > Project Structure > Mark the folders as source folders )
1.
Run the tests and install missing dependencies
## Installing UR Robot Simulator
...
...
@@ -27,6 +41,28 @@ If using virtual box, then follow the instructions in https://www.universal-robo
If using Hyper-V, then install ubuntu VM and then install the UR Robot simulator.
## Publishing this package on pypi
Instructions adapted from: https://packaging.python.org/tutorials/packaging-projects/
Make sure to install dependencies:
```
pip install setuptools wheel twine
```
Create source distribution
```
python setup.py sdist
```
Create binary distribtion
```
python setup.py bdist_wheel
```
Upload package:
```
python -m twine upload dist/*
set user and password according to pypi's api token
```
...
...
@@ -38,10 +74,9 @@ If using Hyper-V, then install ubuntu VM and then install the UR Robot simulator
### Failure to boot from ISO file
with the following error:
Signed image's hash is not allowed (DB).

```
No operating system was loaded. Your virtual machine may be configured incorrectly. Exit and re-configure...
```
The solution is to follow this guide: https://www.thomasmaurer.ch/2018/06/how-to-install-ubuntu-in-a-hyper-v-generation-2-virtual-machine/
...
...
@@ -49,8 +84,7 @@ The solution is to follow this guide: https://www.thomasmaurer.ch/2018/06/how-to
## Error when running the unit tests from PyCharm
Similar error:
Error:
```
Testing started at 08:54 ...
H:\srcctrl\gitlab\urinterface\venv\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pycharm\_jb_pytest_runner.py" --target robot_connection_tests.py::MyTestCase.test_dummy_start_stop_record
...
...
tests/__init__.py
0 → 100644
View file @
20118d07
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment