Nao_Camera TypeError: 'NoneType' object has no attribute '__getitem__' [closed]
I'm currently trying to simulate receiving images from the Nao camera, I've launched the nao_drivers with "roslaunch nao_driver nao_driver.launch" but on the node list nao_camera is missing. When I try to launch the node separately with "rosrun nao_driver nao_camera.py" I get the following:
using camera: 0
Traceback (most recent call last):
File "/home/joel/Ros/nao/stacks/nao_robot/nao_driver/scripts/nao_camera.py", line120, in <module>
naocam.main_loop()
File "/home/joel/Ros/nao/stacks/nao_robot/nao_driver/scripts/nao_camera.py", line 91, in main_loop
img.height = image[1]
TypeError: 'NoneType' object has no attribute '__getitem__'
[INFO ] Stopping ALNetwork
Any help greatly appreciated