Skip to content

This repository contains the development of the localization system for the swarm robots of the project Pera Swarm. It is based on ARMarkers, OpenCV with Python. An Raspberry Pi 3 computer with camera is used as processing device.

License

Notifications You must be signed in to change notification settings

Pera-Swarm/localization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This repository contains the development of the localization system for the swarm robots of the project Pera Swarm. It is based on ARMarkers, OpenCV with Python. An Raspberry Pi 3 computer with camera is used as processing device.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •