rpg_public_dronet
rpg_public_dronet copied to clipboard
using ROS package with python 3
Hi,
In the README.md file inside the root directory, you specify python 3.4 as a requisite. I have used python 3 and successfully used the provided model+weights. Following that, I moved on to the ROS implementation you provided. in the file drone_control/dronet/dronet_perception/src/Dronet/utils.py there is a clear requirement to use python 2 (the syntax will not work on python 3.) Can you confirm that you used python 3 to run the model+ROS thread? if this is indeed a mistake and python 2 should be used, maybe it should be updated in one of the readme files.
thanks!
Hi @sagivd, Unfortunately you must use python2.7 in ROS and python3 to train the model. Python2 was the default with ROS when the project was initially developed. Hope this helps!