|
# Using OpenTCS
|
|
# Using OpenTCS
|
|
## Add the communication adapter to the Kernel
|
|
## Add the communication adapter to the Kernel
|
|
To be able to use our communication adapter you have to compile (clean and build) the communication adapter in preferably NetBeans (more information [here](https://git.fhict.nl/I312980/move-it/wikis/installation/installation#set-up-netbeans).
|
|
To be able to use our communication adapter you have to compile (clean and build) the communication adapter in preferably NetBeans (more information [here](https://git.mphslaats.com/fontys/move-it/wikis/installation/installation#set-up-netbeans).
|
|
Now go to the target folder of the communication adapter and copy the `.jar` to `openTCS-Kernel/lib/openTCS-extensions`. Do not forget to copy the `json-simple-1.1.1.jar` to the same folder. You can download it [here](https://code.google.com/archive/p/json-simple/downloads) or you can do this by locating the `.jar` file in NetBeans and copy pasting the file in `openTCS-Kernel/lib/openTCS-extensions`.
|
|
Now go to the target folder of the communication adapter and copy the `.jar` to `openTCS-Kernel/lib/openTCS-extensions`. Do not forget to copy the `json-simple-1.1.1.jar` to the same folder. You can download it [here](https://code.google.com/archive/p/json-simple/downloads) or you can do this by locating the `.jar` file in NetBeans and copy pasting the file in `openTCS-Kernel/lib/openTCS-extensions`.
|
|
Next time you start the Kernel you will find a new adapter called `move-it` which represents our communication adapter.
|
|
Next time you start the Kernel you will find a new adapter called `move-it` which represents our communication adapter.
|
|
|
|
|
|
## Design your warehouse
|
|
## Design your warehouse
|
|
For a detailed explanation about how you need to design you warehouse, you can have a look [here](https://git.fhict.nl/I312980/move-it/tree/master/configurations/opentcs-map).
|
|
For a detailed explanation about how you need to design you warehouse, you can have a look [here](https://git.mphslaats.com/fontys/move-it/tree/master/configurations/opentcs-map).
|
|
|
|
|
|
## The Kernel
|
|
## The Kernel
|
|
After you are done with the development of your warehouse, you have to persist it into the kernel. If you have not saved your model yet, do so now. Next up you have to open the Kernel and then you have to switch back to the Plantoverview. In the Plantoverview you click on File - Persist model in the kernel. Now your warehouse is running in the kernel, so go to the kernel window.
|
|
After you are done with the development of your warehouse, you have to persist it into the kernel. If you have not saved your model yet, do so now. Next up you have to open the Kernel and then you have to switch back to the Plantoverview. In the Plantoverview you click on File - Persist model in the kernel. Now your warehouse is running in the kernel, so go to the kernel window.
|
|
In the kernel window you are able to connect each vehicle using an adapter to the kernel. Select `move-it`, make sure that the robot is running or our use the [DummyBot](https://git.fhict.nl/I312980/move-it/tree/master/move-it-dummybot) and click enable.
|
|
In the kernel window you are able to connect each vehicle using an adapter to the kernel. Select `move-it`, make sure that the robot is running or our use the [DummyBot](https://git.mphslaats.com/fontys/move-it/tree/master/move-it-dummybot) and click enable.
|
|
|
|
|
|
## Operate the warehouse
|
|
## Operate the warehouse
|
|
Now switch back to the Plantoverview and click File - Load current kernel model.
|
|
Now switch back to the Plantoverview and click File - Load current kernel model.
|
|
Now right-click on the vehicle you just enabled, and click Change integration level - ... to utilize this vehicle for transport order.
|
|
Now right-click on the vehicle you just enabled, and click Change integration level - ... to utilize this vehicle for transport order.
|
|
Now you have done that you can add a Transport order and your robot will drive through the warehouse (in real life or virtual, depending on which communication adapter you used).
|
|
Now you have done that you can add a Transport order and your robot will drive through the warehouse (in real life or virtual, depending on which communication adapter you used).
|
|
|
|
|
|
[Home](https://git.fhict.nl/I312980/move-it/wikis/home) |
|
[Home](https://git.mphslaats.com/fontys/move-it/wikis/home) |
|
\ No newline at end of file |
|
\ No newline at end of file |