>>> pip install -r requirements.txt
>>> python qr.py
Model name: model_name
Text: encoded
Width of QR code (empty for 0.44):
Model: /home/user/model_editor_models/qr_model_name
Code: encoded
Width: 0.44
Move folder output/qrmodel_name
to any Gazebo models folder, for example, /home/user/model_editor_models/
. Don't forget to reload Gazebo.
Use config.py
file to configure models output directory and models width.