Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.68 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.68 KB

License

FYP-localization-robots

Python repository for address the Localization problem of Swarm Robotics

Requirements

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

Run the scripts

You can try scripts on the ./scripts/ directory

Build a executable file (not working so far)

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.

Read More