Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6f347f7

Browse files
committedJul 24, 2024
initial Commit
1 parent bf1b30d commit 6f347f7

12 files changed

+2962
-2
lines changed
 

‎README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,37 @@
1-
# CRI-Python-Lib
2-
Library to use Python to interact with the iRC igus Robot Control via the CRI interface
1+
# Introduction
2+
Python package to interface an igus Robot Control via the CRI protocol.
3+
4+
# Current Features
5+
- Robot State
6+
- Basic functions
7+
- Reset
8+
- Enable / Disable
9+
- Acquisition of active control
10+
- Override
11+
- Referencing of
12+
- single axis
13+
- all axes
14+
- Set joints to zero
15+
- Direct movements
16+
- Joint and relative joint
17+
- Cartesian
18+
- Cartesian base and tool relative
19+
- Live jog
20+
- Digital IO and global signals
21+
- Programs
22+
- Upload
23+
- Start / Pause / Stop
24+
- CAN Bridge
25+
26+
# Getting Started
27+
## Installation
28+
Using the library requires no additional libraries, only testing has external dependencies.
29+
30+
In the top directory of this repository execute `pip install .`
31+
32+
## Examples
33+
See `examples` directory.
34+
35+
# Tests
36+
This repository provides pytests for the message parser. They require `pytest` and `pytest-cov`, which can be installed via `pip install -r requirements.txt`. To run the tests (including coverage) execute the following command: `pytest -vv --cov=cri_lib --cov-report term-missing tests`.
37+

‎cri_lib/__init__.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
"""
2+
.. include:: ../README.md
3+
"""
4+
5+
6+
from .robot_state import (
7+
RobotMode,
8+
KinematicsState,
9+
OperationMode,
10+
RunState,
11+
ReplayMode,
12+
ErrorStates,
13+
RobotCartesianPosition,
14+
PlatformCartesianPosition,
15+
JointsState,
16+
RobotState,
17+
PosVariable,
18+
OperationInfo,
19+
ReferencingAxisState,
20+
ReferencingState,
21+
)
22+
from .cri_controller import CRIController
23+
from .cri_protocol_parser import CRIProtocolParser
24+
25+
from .cri_errors import CRIError, CRIConnectionError, CRICommandTimeOutError

0 commit comments

Comments
 (0)
Please sign in to comment.