A machine learning webots extension
Project description
FlockAI - A Framework for Rapidly Testing ML-Driven Drone Applications
FlockAI, an open and modular by design framework supporting users with the rapid deployment and repeatable testing during the design phase of ML-driven drone applications.
FlockAI can be used to design drone testbeds with "ready-to-go" drone templates, deploy ML models, configure on-board/remote inference, monitor and export drone resource utilization, network overhead and energy consumption to pinpoint performance inefficiencies and understand if various trade-offs can be exploited.
Find out more about FlockAI by simply visiting our website.
Installing Webots Robotics Simulator
FlockAI currently features integration endpoints with the Webots robotics simulator. Therefore, to use FlockAI, Webots must be previously installed on your computing environment.
The installation of process of Webots is pretty straightforward for any OS environment (Linux, macOS, Windows) and instructions can be found here.
Note: FlockAI requires a version of Webots above R2021a and we recommend using version R2021a where all offered tests and simulations worlds have been tested for. You can select versions from here
Installing FlockAI and Webots Endpoints
Before we download dependencies and FlockAI, make sure that pip is up-to-date (>22.x) and that Cmake is installed.
Integrating FlockAI with Webots requires the FlockAI controllers to be placed in the respected Python environment of Webots. We have made this process easy and requires only the following steps:
Checking installed python version
Upon launching Webots navigate to Tools->Preferences
and identify the command that Webots uses to run its python controllers.
Then, launch a terminal (or command prompt) and type the same command to identify your default python version.
After the version is identified, the corresponding Webots controller directory needs to be noted down.
Identifying Webots controller directory
Navigate to the directory that Webots was installed and copy the corresponding controller path to your clipboard.
Once the controller path is copied, flockai should be installed in to that directory
Installing FlockAI to the Webots controller directory
Run the following command and make sure webots is installed in the destination directory
pip install --no-cache-dir --upgrade --target="your/webots/controller/directory" flockai
Download FlockAI Sample Worlds and Tests from Git Repo
Clone the FlockAI repo on your system
git clone https://github.com/unic-ailab/flockai-working.git
Install requirements
Navigate to the installed folder and execute the following command to install python requirements
pip install -r requirements.txt
Open one of the sample worlds located in the simulation directory
In Webots, navigate to File->Open World
and load one of the sample worlds our team has developed
Load sample controllers on your robots
Check the relevant documentation on each controller to make the appropriate changes on your world's objects
Give FlockAI a Go and Have Fun!
1. Keyboard-Based Navigation
2. Autopilot Navigation
- ML sensor value prediction with linear regression
- Face detection with deep learning
- Crowd detection
- and more!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flockai-0.1.18.tar.gz
.
File metadata
- Download URL: flockai-0.1.18.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a07b838de9ae5f574bb774fbaef8b89de2b57ea6a9b6bf731aa350da09da451 |
|
MD5 | 6f33b461fb2322c86b886bf53394f6ea |
|
BLAKE2b-256 | 4b4dc8bec9ac1bdb5ebf6b3b8fe7d71ce88ddd10c70cc0cf0c4996feb82d4d0c |
File details
Details for the file flockai-0.1.18-py3-none-any.whl
.
File metadata
- Download URL: flockai-0.1.18-py3-none-any.whl
- Upload date:
- Size: 28.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2d5a25ed7bc6c38a138bf598aa554a7e98bf6fd6b59c4ba574f5252e641e53a |
|
MD5 | 568598683ff1bdfb243eb275906fffa1 |
|
BLAKE2b-256 | 0b74b9919be038c9fe25345f0f01b8abc537634e63e2f22e2e611a5bc7a6c45e |