Hey guys,
So I've made a package that has a python script which subscribes to the detectnet topic detections, but when I try to read the msg i get the error:
Traceback (most recent call last):
File "/home/lars/catkin_ws/src/internship_lars/scripts/listener.py", line 5, in <module>
from vision_msgs.msg import Detection2DArray
The code that matters:
from vision_msgs.msg import Detection2DArray
rospy.Subscriber('/detectnet/detections', Detection2DArray, callback2)
Hope anone can see what I'm obviously doing wrong, something with the XML or CMakeLists?
Hey guys, So I've made a package that has a python script which subscribes to the detectnet topic detections, but when I try to read the msg i get the error:
The code that matters:
Hope anone can see what I'm obviously doing wrong, something with the XML or CMakeLists?
CMakeLists.txt
Package.xml: