Thnx for your response! I tried some adjustments: get_the_latest_image without call back, used the small image routine and inserted and changed several time.sleep and print statements. It didn’t make a difference. Even the first print-statement didn’t show up. When breaking the runs, it seems the script sticks in the __init__.py (a couple of times it also looked as reinitializing the bot: flashing red power light of the Rpi, all IR sensors kept flashing and I needed a full HW reboot).
The trace back shows like this:
File “/home/pi/py_websockets_bot/examples/Routine_search_sign_incl_neck_local_version.py”,
line 77, in <module> image, image_time = bot.get_latest_camera_image()
File “/usr/local/lib/python2.7/dist~ packages/ py_websockets_bot/__init__.py, line 303, in get_latest_camera_image
Return self._get._latest_streaming_data (“image”, “start_streaming_camera_images”, max_image_age)
File “/usr/local/lib/python2.7/dist~ packages/ py_websockets_bot/__init__.py, line 437, in get._latest_streaming_data time.sleep(0.001)
Looks to me as if the script stalls in getting an image and gets a time interrupt. Since not even the print statement is executed, I suspect it to be the first image pull.
Not sure if this makes sense?Statistics: Posted by Bastian — Tue Jan 27, 2015 11:55 pm
]]>