Python repository for address the Localization problem of Swarm Robotics
Please install following pip packages if they aren't pre-installed
pip install numpy
pip install aruco
pip install paho-mqtt
pip3 install opencv-python
pip3 install opencv-contrib-python
pip3 install pyyaml
or use following command
pip install -r requirement.txt
You need to copy and rename the following files in scripts directory and fill the necessary configuration details before run the scripts.
- config-mapping_sample.yaml INTO config-mapping.yaml
- config-mqtt_sample.yaml INTO config-mqtt.yaml
You can try scripts on the ./scripts/ directory
Install PyInstaller from PyPI:
pip install pyinstaller
Go to your program’s directory and run:
pyinstaller --onefile script.py
After, please make sure to copy the './board' folder into the directory which executes the exe file.