Skip to content

virtual-origami/pyrobomotra

Repository files navigation

pyrobomotra

Python Package / Application to track 2D Robotic Arm Movements.

Stateless App Build CI/CD Workflow Status

Development

Python3.x

  1. Create a Virtual Environment

    $ virtualenv -m venv venv
  2. Activate Virtual Environment

    $ . venv/bin/activate 
  3. Install the Dependencies

    $ pip install -r requirements.txt
  4. Install pyrobomotra as python package for development:

    $ pip install -e .

    This makes the robot-motion-tracker binary available as a CLI

Usage

Run robot-motion-tracker binary using command line:

  • -c configuration file path/name
  • -i Robot ID
$ robot-motion-tracker -c config.yaml 

Message Broker (RabbitMQ)

Use the rabbitmqtt stack for the Message Broker

NOTE: The rabbitmqtt stack needs an external docker network called iotstack make sure to create one using docker network create iotstack

Docker

  1. To build Docker Images locally use:

    $ docker build -t pyrobomotra:<version> .
  2. To run the Application along with the RabbitMQ Broker connect the container with the iotstack network using:

    $ docker run --rm --network=iotstack -t pyrobomotra:<version> -c config.yaml 

    INFO: Change the broker address in the config.yaml file to rabbitmq (name of the RabbitMQ Container in rabbitmqtt stack)

  3. To run the a custom configuration for the Container use:

    $ docker run --rm -v $(pwd)/config.yaml:/pyrobomotra/config.yaml --network=iotstack -t pyrobomotra:<version> -c config.yaml -i <robot-id>

Maintainers

The repository is maintained by:

BIBA - Bremer Institut für Produktion und Logistik GmbH

FUNDING

  • The development of this codebase and repository is driven through the RAINBOW Project. RAINBOW Project has received funding from the European Union’s Horizon 2020 programme under grant agreement number 871403
  • The development of this codebase and repository is driven through the ASSURED Project. ASSURED project is funded by the European Union's Horizon 2020 programme under Grant Agreement number 952697

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published