BCLab-UNM / SC2

Swarmathon Team Code for the NASA Space Challenge 2 Competition
MIT License
2 stars 0 forks source link

Investigate detections AttributeError crash #132

Closed Carter90 closed 4 years ago

Carter90 commented 4 years ago

On implement-object-detection branch (615d92a5334629123449bb82e8e7dd46ea45a3d4)

[ERROR] [1599882444.476461, 0.000000]: bad callback: <bound method CubesatDetection.cam_callback of <Cubesat_Detection.CubesatDetection object at 0x7f3894364910>>
Traceback (most recent call last):
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
    cb(msg)
  File "/home/carter/SC2/src/object_detection/src/Cubesat_Detection.py", line 216, in cam_callback
    color = self.label(lab_left,c)
  File "/home/carter/SC2/src/object_detection/src/Cubesat_Detection.py", line 182, in label
    for (i, row) in enumerate(self.lab):
AttributeError: 'CubesatDetection' object has no attribute 'lab'

[ WARN] [1599882454.397619061]: [image_transport] Topics '/scout_1/left/image_color' and '/scout_1/camera/left/camera_info' do not appear to be synchronized. In the last 10s:
    Image messages received:      1
    CameraInfo messages received: 0
    Synchronized pairs:           0
[ WARN] [1599882454.436425160]: [image_transport] Topics '/scout_1/left/image_mono' and '/scout_1/camera/left/camera_info' do not appear to be synchronized. In the last 10s:
    Image messages received:      1
    CameraInfo messages received: 0
    Synchronized pairs:           0
[ WARN] [1599882454.447989746]: [image_transport] Topics '/scout_1/right/image_mono' and '/scout_1/camera/right/camera_info' do not appear to be synchronized. In the last 10s:
    Image messages received:      1
    CameraInfo messages received: 0
    Synchronized pairs:           0
[ WARN] [1599882528.623056648, 406.214000000]: Failed to meet update rate! Took 406.21399999999999864
[ WARN] [1599882528.624488925, 406.214000000]: Failed to meet update rate! Took 406.18066666700002543
Antonio-Griego commented 4 years ago

Addressed in these commits:

667e1d4 1f1ae0c