A repository to run Pioneer p3dx simulation and navigate it using QR Codes for educational purpose in Madrasah Technonatura Jogja. This was tested on Windows 10 with Python 3.7 and CoppeliaSim 4.1.0
- Clone this project using this command:
git clone https://github.com/syauqibilfaqih/PioneerQRNav.git
- Install required libraries
pip install -r requirements.txt
or you can just install them manually:
pip install numpy
pip install opencv-python
- Open the CoppeliaSim simulation file in folder coppeliaSimFiles
- run
main.py
code
Here are some function to use in this repository
move_pioneer(left_speed,right_speed)
: to move the robot and adjust the speed
camera_id
: specify camera to be useddelay
: delay value for waitKey() functionwindow_name
: the name of window that will be appeared
qr_detect()
: to return the data of qr detectedopen_window()
: to show real time camera capturedestroy_windows()
: to destroy all window camera capture display
Should you have any question, don't hesitate to contact me at alisyauqibilfaqih@gmail.com