Download

Exporting/Importing Your Work

The EXPORT process enables you to take an entity (such as a flow, node or callback) that you generated in the MOV.AI Flow™ GU, and to save it as a set of JSON files.

The IMPORT process reverses this action. It is able to read a folder of JSONs that represents a set of flows, nodes or callbacks and to insert it into any Flow IDE on any machine.

Exporting Your Work

To export –

  1. Open the Spawner, meaning launch bash at our main container docker exec -it spawner-robot1 bash.
  2. Cd into ~/user.
  3. Create/populate the file manifest.txt.
  4. Export: python3 -m tools.backup -m manifest.txt -i -a export -p precious_work.

This will export all items in the manifest file, into the (container) folder: ~user/database/precious_work.
This folder is accessible externally at the Host ~/Documents/MovaiFlow/userspace/database/precious_work.

Importing Your Work

To import –

  1. Open the Spawner, ie: launch bash at our main container docker exec -it spawner-robot1 bash.
  2. Cd into ~/user.
  3. Create/populate the file manifest.txt.
  4. Type the following –
python3 -m tools.backup -m manifest.txt -i -a import -p precious_work

Manifest File

A manifest file should list all the nodes, callbacks and nodes you want to export or import.
Here's an example of a manifest.txt –

Flow:husky_simple_navigation
Node:amcl
Callback:start_pallet_detector
Configuration:pallet_detection