Using camera on ergo-jr

Maybe you can test the camera without the robot. To check where is the problem. In a notebook :

%matplotlib inline
import cv2
import matplotlib.pyplot as plt

cam = cv2.VideoCapture(-1)
res, img = cam.read()
plt.imshow(cv2.cvtColor(img,cv2.COLOR_BGR2RGB))