MOV.AI developer tools
A python package build to facilitate development when using MOV.AI.
Motivation
During development we need to perform tasks that in some cases involve executing long commands. The scripts in this repository try to shorten those commands thus making development more efficient. Besides that, we are also avoiding to have to enter the spawner container to perform tasks. That is done by exposing the more frequent commands on the host.
Installation
Simply execute the following:
python3 -m pip install -i https://artifacts.cloud.mov.ai/repository/pypi-integration/simple --extra-index-url https://pypi.org/simple movai-developer-tools
Features
MOV.AI object backup tools
movbkp
- Recursively imports or exports or re-installs all manifest.txt files found under the directoryimport
- Imports the metadata specified in the found manifest.txtexport
- Exports the metadata specified in the found manifest.txtremove
- Removes the metadata specified in the found manifest.txtre-install
- Imports all the metadata from installed packages in the spawner container--directory
- Directory to search manifests, defaults to CWD--dry-run
- Dry run any command without modifiying any files
ROS tools
movros
- ROS related functionsexpose-network
- Exports all the necessary vars so that host ROS system can communicate with MOV.AI's ROS master. (Only if the host has a ROS LTS installation.)
MOV.AI application container tools
movcontainer
- MOV.AI containers related functionsspawner
- Spawner container related functionsip
- Prints IP of the containerid
- Prints short ID of the containername
- Prints name of the containergateway
- Prints Host virtual IP in the docker networkuserspace-dir
- Prints the mounted userspace directorylogs
- Shows container logs
ros-master
- ROS master container related functionsip
- Prints IP of the containerid
- Prints short ID of the containername
- Prints name of the containergateway
- Prints Host virtual IP in the docker networkuserspace-dir
- Prints the mounted userspace directorylogs
- Shows container logs
Full documentation
Full documentation of this python package is hosted at https://mov-ai.github.io/movai-developer-tools/