This repository serves as the codebase for the bachelor thesis in Flexible Manufacturing into Digital Twins
The group members are:
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
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
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
- Fill in "Product name"
- Fill in "Internal reference"
- Click "Update quantity" and type 50.
This is your product stock - Click "New"
Product name | Internal reference |
---|---|
Green Rectangle | GR01 |
Green Circle | GC01 |
Red Rectangle | RR01 |
Red Circle | RC01 |
Blue Rectangle | BR01 |
Blue Circle | BC01 |
Install UniFMU using their repository
Install Maestro using their repository
Install Java for running Maestro
Install RabbitMQFMU using their repository