Encountered when running some test experiment (I believe one that had one fly per chamber, though might have been before / after we had the test flies loaded) for ejhonglab/nagel_laminar, with the lab account on the computer choice. Not sure whether it was the cv2.circlecall or the inline int call that triggered this error, as I haven't been able to reproduce yet today.
[ERROR] [1608675751.140693]: bad callback: <bound method LiveViewer.image_callback of <__main__. LiveViewer instance at 0x7f1ba1698ef0>>
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/lab/catkin/src/multi_tracker/nodes/liveviewer.py", line 342, in image_callback
trajec.color, 2)
OverflowError: signed integer is greater than maximum
The full offending line, for convenience:
cv2.circle(self.imgOutput, trajec_center, int(trajec.covariances[-1]), \
trajec.color, 2)
Though I couldn't yet reproduce, trajec.convariances[-1] was very big in some testing I was doing today (at least 285246631.586).
The multi_tracker version I was using when I encountered this error was quite old (86746c028da), but the relevant portion of code doesn't seem to have changed.
Should decide how to handle the data, display, and perhaps additional warnings in this case.
Encountered when running some test experiment (I believe one that had one fly per chamber, though might have been before / after we had the test flies loaded) for
ejhonglab/nagel_laminar, with thelabaccount on the computerchoice. Not sure whether it was thecv2.circlecall or the inlineintcall that triggered this error, as I haven't been able to reproduce yet today.The full offending line, for convenience:
Though I couldn't yet reproduce,
trajec.convariances[-1]was very big in some testing I was doing today (at least 285246631.586).The
multi_trackerversion I was using when I encountered this error was quite old (86746c028da), but the relevant portion of code doesn't seem to have changed.Should decide how to handle the data, display, and perhaps additional warnings in this case.