DavidFernandezChaves / Detectron2_ros

A ROS Node for detecting objects using Detectron2.
MIT License
52 stars 23 forks source link

Differentiating b/w .py and no extension #4

Closed sisaha9 closed 3 years ago

sisaha9 commented 3 years ago

Currently when the repo is cloned detectron2_ros in src does not have the .py extension. Since I was planning on adding one more .py file I decided to rename detectron2_ros to detectron2_ros.py and edit the launch file to reflect that. It started giving can't find detectron2_ros.msg does not exist. Am I missing some other step?

DavidFernandezChaves commented 3 years ago

I don't have a clear answer to why the .py doesn't accept it as a package. In other projects I have not had these problems so I understand that it is because of the difference between Python versions. In any case, to make use of the CNN you can create another independent package where you can insert your code.

sisaha9 commented 3 years ago

Thanks!