/NiryorobotAU

Repository for the bachelor thesis in flexible manufacturing into digital twins

Primary LanguagePython

Bachelor thesis in Flexible Manufacturing into Digital Twins.

This repository serves as the codebase for the bachelor thesis in Flexible Manufacturing into Digital Twins
The group members are:

User installation guide

Odoo installation

Go to Odoo download
Follow the installation guide on the site, from the section Source install Skip the part regarding Odoo Community installation
Use the following command to initiate odoo

python3 odoo-bin --without-demo=all -d {database name}

In the end the following should be installed:
  • pip
  • PostgreSQL
  • Odoo

Network settings

To ensure the robots in your setup have static ip adresses, you need to enable some settings in the linux options. Follow this guide, and use the Niryo manual to see how it can be changed. Static IP

PostgreSQL

Install the web version of pgAdmin for PostgreSQL
Run the command

sudo /usr/pgadmin4/bin/setup-web.sh

Go to the pgadmin interface:
http://localhost/pgadmin4/browser
To login to the interface using earlier created credentials
Connect to the database using the this guide
Run the following query

CREATE TABLE orders (
  id SERIAL PRIMARY KEY,
  desc_item CHAR(4) NOT NULL,
  no_product INTEGER NOT NULL,
  status VARCHAR NOT NULL,
  dateinserted DATE NOT NULL,
  failure_status BOOLEAN NOT NULL
);

In Odoo go to Inventory -> Products. Click "New" and create 6 new products using the table below

  1. Fill in "Product name"
  2. Fill in "Internal reference"
  3. Click "Update quantity" and type 50.
    This is your product stock
  4. Click "New" alt text
Product name Internal reference
Green Rectangle GR01
Green Circle GC01
Red Rectangle RR01
Red Circle RC01
Blue Rectangle BR01
Blue Circle BC01

UniFMU

Install UniFMU using their repository

Maestro

Install Maestro using their repository
Install Java for running Maestro

RabbitMQFMU

Install RabbitMQFMU using their repository